Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Servlets
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Servlets
Session Time out Issue
Ajith Prasad
Ranch Hand
Posts: 66
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I mention session timeout property as 30(mins) in web.xml and in
servlet
i mention session.setMaxInactiveInterval("20(mins)"); so which one will be executed, the session expires after 30 mins or after 20 mins.
Pranav Pal
Ranch Hand
Posts: 74
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The session for which you called session.setMaxInactiveInterval(20) will expire after 20 min. But other sessions will expire after 30 min.
Hakuna Matata!
David O'Meara
Rancher
Posts: 13459
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
"LSBU",
Welcome to the JavaRanch.
We're a friendly group, but we do require members to have
valid display names
.
Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.
Please
edit your profile
and correct your display name since accounts with invalid display names get deleted.
I'm not dead! I feel happy! I'd like to go for a walk! I'll even read a tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Will Session timeout while the servlet is being executed?
JSP inactive session after few minutes
Session retention
Session Timeout between different web applications
Display message after session timeout in struts2
More...