aspose file tools*
The moose likes JSP and the fly likes Redirect before Session Timeout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Redirect before Session Timeout" Watch "Redirect before Session Timeout" New topic
Author

Redirect before Session Timeout

Sri Gnana
Ranch Hand

Joined: Apr 29, 2004
Posts: 166
Dear Friends,
I want to use the session ID before the session timeout happens. So, how to find the session timeout and get the id for my storing purpose in jsp.


Thanks & Regards
Sri Gnana
Everythings Programmed!...
Andreanes Yosef Vanderlee
Greenhorn

Joined: Mar 30, 2007
Posts: 12
when the session is destroyed or timeout, you wanna do something on you server.. is it what you wanna do?? is yes then, take a look at this
HttpSessionAttributeListener
HttpSessionListener
this 2 interfaces can be used to do something on the server when session is already inactive *even the client close the browser, disconnecting from server, etc..*
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Redirect before Session Timeout