• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

session listener????

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1514
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
BWA HA HA HA HA HA HA! Tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic