This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes auto log off feature Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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: 12267
    
    1
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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: auto log off feature
 
Similar Threads
How to supress SQL Queries in log file
JSP Editor
"Missing message for key" error!
Turn off auto login feature?
Session Timeout w/o xml?