A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jun 14, 2008
Jul 14, 2008 13:55:00
How to set session timeout in a
page as well as a
I have set the session-timeout in web.xml as
and also set the session timeout in the servlet as
I am using websphere and the timeout was set as 40
but the session is not timing out.
what should i do now??
Am i wrong anywhere?
Thanks in advance.
Joined: Apr 09, 2006
Jul 14, 2008 19:26:00
If you have copy-pasted the code then there is typo in both cases:
(1) In the first case timeout is spelled wrong
(2) In the second case "m" in max needs to be capital
[ July 14, 2008: Message edited by: Siddharth Naik ]
I agree. Here's the link:
subject: session timeout
Clarification about session-timeout in web.xml?
Not able to get this !
session timeouts greater than 30 minutes?
Session timoeout on JSP
session timeout in DD
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015