This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

capturing session ending event in server

 
jegan arumugam
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dear friends,
is there any way to capture the event which marks and end of session from the server side so that we may delete the temporary files created and used during the session.is there any provisions in jsp/servlet to track the end of a session and then deleting the file.please those who can help me please mail me. jegan_seeu@yahoo.com
with reagrds
jegan
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to look at the methods for the HttpSessionBindingListener interface.
An object implementing this interface can be attached to a HttpSession - it will then be notified when the session is about to be destroyed.
Bill

------------------
author of:
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic