• Post Reply Bookmark Topic Watch Topic
  • New Topic

Session Timeout  RSS feed

 
Antony Rajesh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all

i want to change the session timeout of my application programatically.
if i change the session timeout it should affect all users.
(may be from the next app server restart)
i am using websphere 6.1

is it possible?

Thanks in Advance
Antony Rajesh
 
Matt Sall
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

you can use session.setMaxInactiveInterval(arg), session.getLastAccessedTime() and session.getMaxInactiveInterval(), getting session from HttpSession session = request.getSession(boolean arg)

/Mattias
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!