Sunday, March 27, 2005

Finsih display member info and logout


I have finsihed to call part of userinfo from database which is shown in memberview.jsp file. At the beginning, the login page will pass ID to this jsp page. Posted by Hello
We can get the id by session.getAttribute("ID");

I also have finished the logout session, to remove ID attribute from session. However, If I backward, the member view page will not be able to check if the user log in or out. Since the jsp page will not be refresh. The temporary method is used refresh to refresh page every second, so the page will if they log out after second. This method is bad that the screen will flash.

0 Comments:

Post a Comment

<< Home