Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

auto log off feature

 
Conie Ooi
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly how do you want that to work?
Bill
 
Anthony Villanueva
Ranch Hand
Posts: 1055
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Something like a "scheduler servlet"?
 
Conie Ooi
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1055
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just increase the setting.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic