locked
Where is the timer set that does the log off if there is no activity RRS feed

  • Question

  • User483055775 posted

    Where is the timer set that does the log off if there is no activity ?  And question two,  the Remember Me button doesnt seem to work - after whatever the inactive timer goes off, I have to re log on.  Thanks

     

    DonnieS

    Tuesday, June 25, 2013 10:19 AM

Answers

  • User-851967432 posted

    That should do it.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, June 25, 2013 12:23 PM

All replies

  • User-851967432 posted

    The session time-out controls the "timer" but it doens't log you out magically. You need to write code to redirectly to the login page if the session is lost. Remember is typically cookie related. If you have cookies disabled, it won't work.

    Tuesday, June 25, 2013 10:33 AM
  • User483055775 posted

    There is no magic - but like just happened, I was testing the app, then went off for breakfast, came back and when I started entering data again,  I was redirected to the log on page.  That time interval is what I am trying to a) find and b) increase.

    Tuesday, June 25, 2013 11:07 AM
  • User-851967432 posted

    It "should" be the session time-out in the web.config

    Tuesday, June 25, 2013 11:11 AM
  • User483055775 posted

    Thanks adamturner34,  I am giving that a try.  See below, I am setting it for 4 hours , I "hope".  I am only setting it that high here in my development environment. In production, I am thinking a max of 60 minutes. 

     

      <authentication mode="Forms">
              <forms timeout="240"/>         
          </authentication>
          <sessionState timeout="240"/>
    Tuesday, June 25, 2013 12:02 PM
  • User-851967432 posted

    That should do it.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, June 25, 2013 12:23 PM
  • User483055775 posted

    Thank you - it did. 

    Tuesday, June 25, 2013 12:43 PM