• Post Reply Bookmark Topic Watch Topic
  • New Topic

session time out

 
Madhu Sudhana
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if we specify session time out as
<session-timeout>0</session-timeout>

in the DD what does it mean???
 
Connie Ky Leung
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It means the session never times out.
 
Madhu Sudhana
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if we specify session time out as
<session-timeout>-1</session-timeout>

when will the session invalidated??
[ May 05, 2006: Message edited by: sudhana madhu ]
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Manning's SCWCD Exam Study Kit says:
The <session-timeout> element contains the timeout in minutes. A value of 0 or less means that the session will never expire.
...
if we want to specifiy that a session will never expire using the setMaxInactiveInterval() method, a negative value (not 0) is required.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!