• Post Reply Bookmark Topic Watch Topic
  • New Topic

session listener????  RSS feed

 
syed mraza
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everyone
I'm performing some actions whn user logs out (hence session invalidates) If i have a *friendly user* means user logs out properly then every thing is ok. but if s/he doesnt? then how to know wht session times out??? and how can i perform those actions on session time out? is there anny thing like session listener??? actualy Servlet 2.3 does have session listener but unfortunately i'm using servlet 2.2. any help/suggestion/idea would be realy appriciated.
thnx
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can implement the HTTpSessionBindingListener interface. When the session terminates, any object object that's bound to the httpSession object will get unbound.

Bosun
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!