U4-3845 - v7.0.0 keepUserLoggedIn issue

Created by Alessandro Ursino 12 Dec 2013, 11:21:27 Updated by Shannon Deminick 25 Mar 2014, 00:44:35


on an umbraco 7 site with config/umbracoSettings.config keepUserLoggedIn set to true, after few minutes the response of GetRemainingTimeoutSecond ajax method is:


and the login box appears again. I can see that the UMB_UCONTEXT cookie was set.

any suggestion?


Glenn Bowering 25 Jan 2014, 15:43:05

I'm having a similar issue on 7.0.2. When developing with 7.0.2 (right out of the box) I'm continuously logged out after minutes (<5). I login and make a style change, confirm the change, then I attempt to make another change and boom, I'm forced to the login screen (it says my session has timed out) and my change wasn't saved. (This is all within 1-2 minutes). I then started researching the issue and attempted to change the KeepUserLoggedIn setting to true as well as increase the 20 minutes timeout (to 3 hours) but neither resolved the issue. This makes it hard to do any work as I'm pretty much forced to login after every minor change.

Shannon Deminick 25 Mar 2014, 00:44:32

The logic in there is correct and should have been working from 7.0.0 but we changed how the timer was working to not force a $digest (for performance reasons) which is causing this issue. I've just fixed this in rev: c936aaa51753862914591b753f7f2d7be7749cf7

Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.0

Due in version: 7.1.0


Story Points: