posted 22 years ago
Hi all,
I am having an issue with HttpSession timeout feature here.
When I run my application, I find out that my application doesnt time out after 30 minutes.
I checked two things with my WAS (WAS 4.0)
1. From the Admin Console, I checked the session manager service and found out that the "Set timeout" choice box is checked and the value entered is 30 minutes..
2. But in my code, when I tried, session.getMaxInactiveInterval(), the output that I gave me is 3600 seconds..
Why is it different ?
Is there a difference between 1 and 2 ?
If so, How can I make 2 to print out 1800 seconds, I want my session timeout to be set to 1800 seconds, not 3600 seconds..
how will I do it ?
Please help me..
thanks