File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session timeouts

 
Tom Griffith
Ranch Hand
Posts: 275
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 390
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to our Servlet forum...
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 275
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. I suspect timeouts are why session attributes get set to null.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic