Author: AndyW2009 | Posted on: 7/19/2010 9:43:25 PM | Views : 487

Hi folks,
I have created a blank application using the out of the box  ASP.Net Web Application.  In the login page I set e.authenticated = true in the authenticate method.   In the web.config I have set the timeout parameter to 2 minutes on the forms authentication (I just have the redirecturl and timout values specified).
 
The issue that I have is that I cannot get the application to redirect to the login page when the forms authentication cookie is expired.  I have put an asp.net timer on the page that displays the expiration date/time of the cookie every minute.   However, on each tick the date time is  01/01/0001 12:00AM.  
After the timeout period has elapsed, the browser remains logged in until I manually issue a formsAuthentication.signout()  (such as clicking logout) which then causes the redirect to login page.
The documentation implies that the default action should b ...

Go to the complete details ...