Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tom Bruce 121 posts 505 karma points
    Apr 16, 2018 @ 21:15
    Tom Bruce
    0

    How to set session timeout

    Hi everyone,

    How do you set the session timeout within the web.config?

    Is the following code correct?

     <sessionState timeout = "15" mode="InProc" customProvider="DefaultSessionProvider">
    
  • Michaël Vanbrabandt 863 posts 3343 karma points c-trib
    Apr 17, 2018 @ 07:10
    Michaël Vanbrabandt
    1

    Hi Bruce,

    Have a look at the docs to edit the session time out of backoffice users:

    https://our.umbraco.org/documentation/Reference/Config/webconfig/#umbracotimeoutinminutes

    You have to set the following:

    <add key="umbracoTimeOutInMinutes" value="20" />
    

    Hope this helps!

    /Michaël

  • Tom Bruce 121 posts 505 karma points
    Apr 17, 2018 @ 07:43
    Tom Bruce
    0

    Thanks Michael,

    I'm looking to set the Session timeout, not the user time out.

  • Michaël Vanbrabandt 863 posts 3343 karma points c-trib
    Apr 17, 2018 @ 07:54
    Michaël Vanbrabandt
    0

    Hi Tom,

    this is also a session timeout, when Umbraco doesn't receive any request during this timerange the user will need to re-login.

    Hope this helps.

    /Michaël

  • Dave Woestenborghs 3325 posts 11170 karma points MVP 5x admin c-trib
    Apr 17, 2018 @ 08:25
    Dave Woestenborghs
    2

    Hi Tom,

    That is correct. In the timeout property you can specify the number of minutes for a ASP.NET session to timeout. The default value is 20

    https://msdn.microsoft.com/en-us/library/h6bb9cz9(VS.71).aspx

    Dave

  • Silvija 58 posts 171 karma points
    May 29, 2020 @ 12:31
    Silvija
    0

    Whether this apply to frontend members sessions too??

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies