aspose file tools*
The moose likes Servlets and the fly likes session timeouts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "session timeouts" Watch "session timeouts" New topic
Author

session timeouts

Tom Griffith
Ranch Hand

Joined: Aug 06, 2004
Posts: 257
Hello. I'm encountering some occurances of session attributes returning null when they were set a few minutes before. I just wanted to make sure that session duration can be set in web.xml for an app. Could I get confirmation on this, I can't really dig up anything definitive. Thank you very much for reading this.
Anselm Paulinus
Ranch Hand

Joined: Sep 05, 2003
Posts: 389
The duration of a session can definitly be set in your web.xml if you are implementing a web application but I doubt if this is the right forum for this question; I think it should be moved to servlet session where you can get quick diagnosis and response to your question.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Moving to our Servlet forum...


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Originally posted by Tom Griffith:
Could I get confirmation on this, I can't really dig up anything definitive. Thank you very much for reading this.[/QB]


Yes.
Tom Griffith
Ranch Hand

Joined: Aug 06, 2004
Posts: 257
Thank you. I suspect timeouts are why session attributes get set to null.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: session timeouts