Copied to clipboard

Flag this post as spam?

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


  • David Veksler 81 posts 166 karma points
    Oct 23, 2015 @ 17:33
    David Veksler
    0

    keep getting logged out of umbraco after 7.3.0 upgrade

    Our users keep getting logged out of Umbraco every two hours after upgrading umbraco.

    in web.config I have:

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

    and in umbracoSettings.config:

    <keepUserLoggedIn>true</keepUserLoggedIn>
    

    Is there any way to debug this issue?

    enter image description here

  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Oct 23, 2015 @ 18:44
    Nicholas Westby
    0

    FYI, your code didn't paste properly. I am guessing you mean to say you added this to the web.config:

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

    And that you added this to the umbracoSettings.config:

    <keepUserLoggedIn>true</keepUserLoggedIn>
    

    I don't have much to add, other than to clarify the above code and to point out that others are having similar issues: https://our.umbraco.org/forum/ourumb-dev-forum/bugs/72367-users-are-being-logged-out-after-only-a-couple-hours

    Perhaps try clearing your browser cache and see if the setting works from that point forward. If that doesn't work, perhaps it's an Umbraco bug.

    By the way, it's a bit strange that you have two of the same cookie in your screenshot (i.e., UMB_UCONTEXT). Perhaps that's related to the issue.

  • David Veksler 81 posts 166 karma points
    Oct 26, 2015 @ 16:47
    David Veksler
    0
    By the way, it's a bit strange that you have two of the same cookie in your screenshot (i.e., UMB_UCONTEXT). Perhaps that's related to the issue.
    

    Can you confirm that this does not happen in other installs? It happens in both our environments. The first cookie has the correct expiration time (9999). The second cookie is set to expire immediately (the login time).

    I tried searching the Umbraco bug DB, but did not see this issue. It's been reported by many of our users across different browsers.

    enter image description here

  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Oct 26, 2015 @ 16:54
    Nicholas Westby
    0

    I just tried it on an Umbraco 7.2.6 install, and here's what I saw:

    Cookies

    Looks like I just have one cookie. Have you tried clearing your browser cache?

  • David Veksler 81 posts 166 karma points
    Oct 27, 2015 @ 00:47
    David Veksler
    0

    Yes, I tried clearing my cache.

  • David Veksler 81 posts 166 karma points
    Oct 27, 2015 @ 15:49
  • David Veksler 81 posts 166 karma points
    Oct 28, 2015 @ 14:19
    David Veksler
    0

    Per that issue, I've tried:

    <keepUserLoggedIn>false</keepUserLoggedIn>
    and
    <authCookieDomain>domain.org</authCookieDomain>
    and
    <authCookieDomain>http://domain.org</authCookieDomain>;
    and
    <authCookieDomain></authCookieDomain>
    

    but it doesn't work. Still getting logged out.

  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Oct 29, 2015 @ 17:07
    Nicholas Westby
    0

    I was about to post that forum thread as well. I was reading that there may be issues in some browsers if the domain doesn't contain at least 2 periods. Can you try a subdomain (e.g., www.domain.org)?

  • mscommunities 40 posts 95 karma points
    Nov 17, 2015 @ 23:29
    mscommunities
    0

    We are having the same issues on 7.3.1. We are running it on a www subdomain and that doesnt help.

Please Sign in or register to post replies

Write your reply to:

Draft