How can i write some code like maintaining timeout in database or logging task, when session get timeout automatically after specific time(default 20 mins).
Asked
Active
Viewed 143 times
0
-
2similar to: http://stackoverflow.com/questions/621744/how-to-handle-session-end-in-global-asax – Prashant Lakhlani Oct 25 '12 at 09:50
-
2Check out this question: http://stackoverflow.com/questions/1413407/asp-net-session-timeout – Coral Doe Oct 25 '12 at 09:53
1 Answers
1
You can use Session_OnEnd Event
, you can find all the related methods
and properties
about Session Object (IIS)
Please have a look Session-State Events
Also there is good article about ASP.NET Session End Event Fires Immediately After Session Start

huMpty duMpty
- 14,346
- 14
- 60
- 99