I\'m trying to get a database transaction to execute when an ASP.NET session ends (in simple WebForms app on Windows 2008 Server). I realize that many respondents will sugg
For others looking for a resolution and not finding an answer to this issue, I have seen a case where a project's Global.asax was defined with a code behind file referenced, but the events defined within the asax instead of the .cs file.
In this case, it would fire the Session_Start, but never the Session_End, as if it was looking in the referenced .cs file.
By removing the reference to the code behind file, Session_End started firing as expected.