• Post Reply Bookmark Topic Watch Topic
  • New Topic

session questions  RSS feed

 
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
1) is it possible to retrieve an expired session. If yes then how
2) How to get the total count of active sessions.
Rgrds
 
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. The servlet engine unbinds all attached data as it is invalidating (expiring) a session so it would not do you any good to have one.
2. In Tomcat the management application will list the number of active sessions - or you could use one of the listeners.
Bill
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the following thread too:
http://www.coderanch.com/t/357689/Servlets/java/Session-Logging
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Manish,
2) http://stardeveloper.com/articles/display.html?article=2001112001&page=1 has a nice little tutorial on this.
Hope that helps,
Bart
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!