• Post Reply Bookmark Topic Watch Topic
  • New Topic

urgent : session time out

 
Bhupendra Khabrani
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
can anybody give me a ref/ explaination as to what if the value given in DD for session time out is:
1. negative?
or
2. zero ?
also the same if done programmatically using
setMaxInactiveInterval()?

does the session times out/ invalidated/ expunged immediately in both the cases or container waits for inactivity?


thanks
Bhupen
 
winay Kumar
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bhupendra,

if you set negative value that means session will never expires
if value is zero that means no session will be created
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!