• 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
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

session problem

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai
I am having an application which gets the user information after he logs into the system and puts that info. into session.But this session is getting disabled in 10 min. even though I changed the session management properties in admin.
I am using WebSPhere 4.0 Single server advanced edition.
Any one could you please guide me to increase the session time.

venkat
 
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not sure about my reply but I read about session before. Here is what I know:
I think WAS4.0 has a default session time out which is 30 mins. In you Deployment Discriptor, you can specify the timeout you want. Say, if you specify 20 mins (maybe it is seconds), this will override the default. Also, in you code you can get HttpSession object. There is a method setMax?? (can not remember) to set session timeout.
Jun Hong
 
All of the following truths are shameless lies. But what about this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic