Hi all,
I am working on C# app in that I want to save app current running state before user will Shutdown, Log off and restart the computer. For this I am using SystemEvents_SessionEnding event, but through this I am not able to debug it.
Please suggest me is there any way to debug it.
Thanks
Loading
Jaganathan BantheswaranPosted Oct 28, 2013, 1:40 AM
Session_End will not fire on closing the window. It will fire when the Session is Expired or when you call Session.Abandon().
Note: You have to set Session Mode to InProc in the Web.config file