遇到一个问题:Web.Config中设置的Sestion timeout不起作用,设置的timeout时间到期后,Global.asax中的Session_End能够被调用,但在此事件处理函数中,Context总是为null,这样就没有办法利用Context退出登录。 原因如下: 引用 The Session_End event fires when the browser isn't connected to the server -- so there really isn't anyway to clear out the authentication ticket (since tha ...
sunnymelon
搜索本博客
存档
最新评论