File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes time out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "time out" Watch "time out" New topic
Author

time out

Raj Joe
Ranch Hand

Joined: Oct 15, 2004
Posts: 41
what are possible ways to time out a user session (http session)

in what way can we invalidate a session,if I use servlet API to invalide,i understand that user session gets killed even before the session time out or even before user closes his browser.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12782
    
    5
The servlet container will automatically time-out sessions according to the default time delay (in web.xml) OR a value you set on the individual session.
You can invalidate a session at any time with the invalidate() method.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: time out