GeeCON Prague 2014*
The moose likes Servlets and the fly likes auto log off feature Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "auto log off feature" Watch "auto log off feature" New topic
Author

auto log off feature

Conie Ooi
Ranch Hand

Joined: Jun 09, 2002
Posts: 31
Hi, I would like to implement an auto log off feature to my application but I do not have any idea how to do it. Can you guys help or point me to the related website?
Thanks a lot.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12791
    
    5
Exactly how do you want that to work?
Bill
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
Something like a "scheduler servlet"?
Conie Ooi
Ranch Hand

Joined: Jun 09, 2002
Posts: 31
I came across this setMaxInactiveInterval in the API. I set session.setMaxInactiveInterval(60*15) in my application, but the session expired more than 15minutes, any idea to extend the session?
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
Just increase the setting.
 
GeeCON Prague 2014
 
subject: auto log off feature