• 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
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Websphere question : Please help

 
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I am having an issue with HttpSession timeout feature here.
When I run my application, I find out that my application doesnt time out after 30 minutes.
I checked two things with my WAS (WAS 4.0)
1. From the Admin Console, I checked the session manager service and found out that the "Set timeout" choice box is checked and the value entered is 30 minutes..
2. But in my code, when I tried, session.getMaxInactiveInterval(), the output that I gave me is 3600 seconds..
Why is it different ?
Is there a difference between 1 and 2 ?
If so, How can I make 2 to print out 1800 seconds, I want my session timeout to be set to 1800 seconds, not 3600 seconds..
how will I do it ?
Please help me..
thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic