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..
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.