Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 23, 2012, 04:43:44 PM

Pages: [1]   Go Down
  Print  
Author Topic: How to configure session timeout value?  (Read 1544 times)
fates66
Intergalactic Cowboy
*****
Offline Offline

Posts: 57


« on: December 28, 2008, 06:05:08 AM »

 :hiya:Any one could help me on session timeout configuration via coding within JSP. Thanks.
Logged
amit_chauhan
Newbie
*
Offline Offline

Posts: 3


« Reply #1 on: January 06, 2009, 08:44:51 AM »

Use javascript to ping server (via http) after every 25 mins (assuming the timeout is set to 30 mins).
You can configure in javascript how many times you want to ping. Let's say you want to increase the timeout to 3 hours, ping the server 4-5 times, and stop pinging after that, and eventually after 3 hours the session will timeout then.

Hope that helps.
Amit
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: