Dear All, I'm fairly sure this has been mentioned previously, but I cannot find any discussion in the archives.
The site I am developing has a standard shopping cart object implemented within a session object. Whenever a user adds an item to his shopping cart, it is temporarily removed from the main stock database to ensure that when the user checks out, that item will be available to them. However, for obvious reasons I need to keep a track on this session object, so either when the user closes his browser or the session times out, I need to reinstate the items back to the original database. Therefore, is there any available resource to keep a track on a session object, ideally a listener that will implement some given action at the end of a session object? Many thanks, Peter Dolukhanov =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com