|
-
November 20th, 2005, 10:29 PM
#1
logout problem in jsp
when i try to logout by clicking the logout button...
it work well ...
but some users who do not click the logout button..and just close the browser by clicking the "X" at the top of the browser,
what should i do to set the session to null when using clicking the 'X'
-
November 24th, 2005, 11:57 PM
#2
Re: logout problem in jsp
i am using jsp any recommendation ....
trigger an event to update the database session.....b4 closing the browser ? how to do this..
-
November 25th, 2005, 12:58 PM
#3
Re: logout problem in jsp
I don't think there is a reliable solution other than you must set a timeout for the session.
HttpSession.setMaxInactiveInterval(int interval)
You would put your database rectifying code in a HttpSessionListener's sessionDestroyed method. This is configured in your web.xml. Check out the apache jakarta taglibs for handy tags that aren't in the standard jsp.
"The Chicken and Rice MRE is not a personal lubricant."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|