ASP.NET Session_End event not firing

后端 未结 4 1323
南笙
南笙 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-13 04:18

    If you don't save anything into the session, the session_end will not fire. If you're saving data in the session in the first request, and calling abandon in the same request the session_end will also not fired.

    Hope this helps!

    T

提交回复
热议问题