I have a procedure in the global.asax Session_End event which does not appear to be executing when the application is closed (ie. I shut down the browser). State is inproc. Any suggestions?
I am using VS.NET in debug mode and framework 1.1. Code in the event is:
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
' Fires when the session ends
Dim objCart As New Providence.ShoppingCart
I am using the sessionID as a unique (hopefully) key in the cart table. And I want to make sure any records are deleted if the user abandons the session.