出于好奇,我问这个问题.
我在global.asax中注意到了这一点
void Session_End(object sender,EventArgs e) { // Code that runs when a session ends. // Note: The Session_End event is raised only when the sessionstate mode // is set to InProc in the Web.config file. If session mode is set to StateServer // or sqlServer,the event is not raised. }
我想了解为什么会话模式是StateServer或sqlServer时没有捕获/引发Session_End事件?