On Tue, Dec 14, 2004 at 11:28:48AM -0500, Mohamed Lrhazi wrote: > function to do some clean up after a session is over? say my object holds a > connection to a database or whatever and I would need to close it and > update it or something? Sounds like session.notifyOnExpire is what you're looking for.