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
posted
0
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
posted
0
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
posted
0
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: 256
posted
0
Thank you. I suspect timeouts are why session attributes get set to null.