Copied to clipboard

Flag this post as spam?

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


  • Silvija 58 posts 172 karma points
    Jun 06, 2020 @ 13:16
    Silvija
    0

    Frontend members loggin session

    Hi all,

    How can I prolong session for logged in frontend members?

  • Steve Morgan 1349 posts 4459 karma points c-trib
    Jun 08, 2020 @ 13:21
    Steve Morgan
    0

    Hi,

    Try adding the following key to the web.config (change 120 to whatever you need). I think this affects backoffice users too.

    V7

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

    V8

    <add key="Umbraco.Core.TimeOutInMinutes" value="120" />
    

    In the past (from a distant memory) I had to create a keep alive ajax call to extend only members whilst they watched a long video. I just hit an API endpoint which returned true after checking the member status if that helps?

    Steve

  • Silvija 58 posts 172 karma points
    Jun 10, 2020 @ 09:30
    Silvija
    0

    Hi Steve,

    Its working for Backofice users, but frontend members are stil not afected.

    BR

  • Steve Morgan 1349 posts 4459 karma points c-trib
    Jun 10, 2020 @ 10:41
    Steve Morgan
    0

    Try increasing the length of the session state - add / amend this key inside the

    <sessionState timeout="60"/>
    
  • Silvija 58 posts 172 karma points
    Jun 16, 2020 @ 12:14
    Silvija
    0

    I changed this line:

    <membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="60">
    

    Looks like its working

Please Sign in or register to post replies

Write your reply to:

Draft