请帮助我,关于这个以及如何在这件事上使用Global.asax.
void Session_End(Object sender,EventArgs E) { // Clean up session resources }
但请注意,当用户关闭浏览器或其连接丢失时,会话不会结束.达到会话超时后结束.