A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Web Component Certification (SCWCD/OCPJWCD)
Doubt in setMaxInactiveInterval
Joined: Mar 02, 2008
Nov 03, 2008 07:14:00
Which of the following values used with setMaxInactiveInterval() will not cause the session to expunge.
My answers are 1,2,3 but correct answers given are 1,2 why not 3
Joined: Aug 21, 2008
Nov 03, 2008 07:54:00
From the specs:
Specifies the time, in seconds, between client requests before the
container will invalidate this session. A negative time indicates the session should never timeout.
So a zero value will cause the container to immediately expunge the session!
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Doubt in setMaxInactiveInterval
q on session time out
Make JSP Page alive
2 Inconsistencies in session-timeout and setMaxInactiveinterval
Keeping Session Alive
increase session life time
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013