locked
How do I stay Logged In all day? - Timetracker RRS feed

  • Question

  • User-2131720496 posted

    My users want to stay logged in all day and as they do tasks (which may take 2 hours) they fill in their time sheet.

     

    Is there a way my users can be logged in all day without having to re-login?

     

    Monday, March 12, 2007 10:42 PM

Answers

  • User-512273051 posted

    Yes, For that there are two options. either you main user session with cookies and set the cookie expiry time span to 24 hrs else, I would recommend you to use sql server session state for this purpose check this http://support.microsoft.com/kb/842044.

    you can also add the following lines to increate session timeout

     

     

    <sessionState 
        mode="InProc"
               stateConnectionString="tcpip=127.0.0.1:42424"
               sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
               cookieless="false"
               timeout="720"
       />
    <!-- assuming 12 hrs session timeout -->
      cheers
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 13, 2007 12:49 AM