Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to get this !

 
devika cha
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,
I am writing some code to check how sessiontimeout works and have configured in DD as 1 minute , but even after a minute the session is still active and only ends when i close the server .Does it work that way , or can anybody tell me what the problem is?
 
vishwa venkat
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its weird..by the way what parameter u set in DD? is it MaxInactiveInterval??
 
vishwa venkat
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Give a try changing the session-out value in <tomcat-home>\conf\web.xml
 
devika cha
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is what i have in my web.xml

<servlet-config>
<session-timeout>1</session-timeout>
</servlet-config>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic