Author: Aasim | Posted on: 7/6/2010 3:23:22 AM | Views : 325

I have a Web app using Forms authentication. I Use Timeout in Web.Config to TimeOut from application that is working fine and I am Redirected to Login page with Message on page "The application timed out. Please ClockIn/Login."  When I am Logging again I am Redirected to the same page with same error message and after that if I try Logging again second time I am able to Login.
Following is the code from different form which i am using.
Web.Config

     <sessionState timeout="2">
        </sessionState>

    <authentication mode="Forms">
      <forms loginUrl="Login.aspx" protection="All" timeout="2" slidingExpiration="true" defaultUrl="Home.aspx">
      </forms>
    </authenti ...

Go to the complete details ...