• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Session Timeout

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic