ASP.NET Session_End event not firing

后端 未结 4 1274
南笙
南笙 2021-01-13 04:01

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

4条回答
  •  生来不讨喜
    2021-01-13 04:30

    Turns out the event WAS firing, but the code that was being executed was silently erroring out, since I wasn't properly accessing the Application object and some of my App_Code classes (which I still don't know how to do, but is worthy of a separate Stack Overflow question).

提交回复
热议问题