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 session timeout Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "session timeout" Watch "session timeout" New topic
Author

session timeout

Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
using setMaxInactiveInterval() set the time of session programtically and using DD session timeout are do same thing?
Devaka Cooray
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2691
    
    3

Yes. But the parameter for the setMaxInactiveInterval() expresses the interval in seconds, while it should be in minutes when used in the deployment descriptor.


Author of ExamLab (Download) - the free mock exam kit for SCJP / OCPJP
Home Page -- Twitter Profile -- JavaRanch FAQ -- How to Ask a Question
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: session timeout
 
Similar Threads
oc4j increase the session timeout
time out period defined by the servlet container?
How to Handle timeout to save user input
Session Timeout
Session Problem