Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Catching

 
S Subbu
Ranch Hand
Posts: 87
jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to All

I have a problem,

My Requirement is Only 5 members login to my Application. If one
member logout other member get the chance to login .


My Problem is One member login to my Application and he close the window without logout directly. At This Time how can i catch that person logout from my application.

It can Catch By Using Session Object

(Without using Javascript)

 
Saifuddin Merchant
Ranch Hand
Posts: 607
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to use JavaScript (and even that will not work in all cases) or need to wait till the session times out ...
 
S Subbu
Ranch Hand
Posts: 87
jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any Listener For Session Ending, With Out JavaScript I handle This Problem
 
Saifuddin Merchant
Ranch Hand
Posts: 607
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes there is the [ur=http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpSessionListener.htmll]HttpSessionListener[/url]
You will be able to find more details by searching for HttpSessionListener, if needed.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic