ASP.Net Session State and Session_End event [Resolved]

Posted by SurajRane under ASP.NET on 6/7/2010 | Views : 7989 | Status : [Member] | Replies : 3
Hi,

I know when I configure session mode as State Server or SqlServer, Session_End event from global.asax not get fired.

I just want to know the reason behind it.

Why Session_End event do not get fired for Session mode State server/SqlServer?

does it get fired when I say SignOut or Session.Abondon() ?




Responses

Posted by: Vuyiswamb on: 6/7/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down

Resolved
Look at this

http://bytes.com/topic/asp-net/answers/302083-session_end-sqlserver-session-mode
http://www.codeproject.com/KB/aspnet/SessionEndStatePersister.aspx

Thank you for posting at Dotnetfunda
[Administrator]

SurajRane, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 6/7/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Session_End event is only supported in inproc mode

Thank you for posting at Dotnetfunda
[Administrator]

SurajRane, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: SurajRane on: 6/7/2010 [Member] Starter

Up
0
Down
Yes I know but why it is not fired for out of process modes of session. This was asked me by an interviewer

SurajRane, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response