A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
How to maintain session for 20 to 30 mimutes
Joined: Mar 31, 2010
Aug 01, 2011 06:47:18
Can any one suggest maintining session for 20 to 30 minutes using code not in XML.
Joined: Nov 21, 2007
Aug 01, 2011 07:12:18
Why do you want to set the session time out in the
It should be set in your application server.
Ananth Chellathurai [
Walk on software
Joined: May 13, 2002
Aug 01, 2011 07:34:39
If you don't want to set session timeout in web.xml, you can set session timeout in your HttpSessionListener using the
method, however, setting in web.xml is preferable.
I agree. Here's the link:
subject: How to maintain session for 20 to 30 mimutes
Session Timeouts - Websphere
Session Time out Issue
session becomes null after few seconds
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015