I want to run some code immediately before a user session ends. I'm holding a user object in that session and when the session times out or is abandoned I want to pick up that user object and use it to clear out locks in the database before it is destroyed from the session. I've tried doing this in the global Session_End method but preliminary tests suggest that this is fired AFTER the session is ended. Is there any way to fire a similar method JUST BEFORE the session ends?