• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Timeout

 
sujatha mamidala
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Is it possible to configure my java web server to change the default timeout from 30 min to something else. I know that we can use setMaxInActiveInterval or invalidate() to manually inavalidate the session. I want know is there anything i can do to change the setting in jws.
Thanks In Advance
Suja.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13073
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know how the JWS handles it, but for servers that follow the Servlet API 2.2, you can set the timeout in the web.xml configuration file on a per-application basis.
<session-config><session-timeout>30</session-timeout>
</session-config>
is the default in Tomcat.
Bill
 
sujatha mamidala
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for your response Bill. But i really need to know how this is done on jws.
Please help!!
Thanks
Suja.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic