ASP.NET: Why is FormsAuthenticationTicket null after authentication timeout?
问题 I'm implementing an authentication timeout detection mechanism per a previous question and answer of mine here. I've implemented an HTTP module that uses the AuthenticateRequest event to run code to capture whether the authentication period has expired. The code to do this is below: public class AuthenticationModule : IHttpModule { #region IHttpModule Members void IHttpModule.Dispose() { } void IHttpModule.Init(HttpApplication application) { application.AuthenticateRequest += new EventHandler