TackleMcClean 🏅
06/04/2024, 8:45 AM/umbraco/backoffice/umbracoapi/authentication/GetRemainingTimeoutSeconds
that returns:
)]}',
0.0
Upon which the user is logged out showing message "Session timed out."
We have tried using incognito mode to rule out cookies, as well as completely fresh browser profile in Chrome.
Are we missing something completely basic for this problem to occur?
appsetting Umbraco.CMS.Global.TimeOut is set to 08:00:00
. 8 hours is more than 1 minute.
We have not supplied any other setting that should affect this. In our previous 'fresh' project the settings were also default.
Umbraco.CMS.Security.KeepUserLoggedIn is not set to true
thus it should be interpreted as the default false
.
> When set to false a user will be logged out after a specific amount of time has passed with no activity. You can specify this time span in the global settings with the TimeOut key.
This is exactly what we've done.
Umbraco.CMS.Security.AllowConcurrentLogins is showing a bit of a strange behavior.
We don't have this defined at all. But setting it to true, and then restarting Umbraco, and then simply reloading the browser window of the recently auto-logged out user in a fresh browser profile will automatically log them in and show the backoffice.
Logging out above mentioned user and then logging in seems to work fine as well. GetRemainingTimeoutSeconds
returns the full 8 hours.
However, logging out, setting AllowConcurrentLogins
to false again and then logging back in, the problem reappears.
In our tests, this is the only browser window using the site. Why are we seeing this problem?kdx-perbol
06/04/2024, 8:48 AMkdx-perbol
06/04/2024, 8:49 AMtrue
AllowConcurrent...
and KeepUser...
, does it actually remove the problem?TackleMcClean 🏅
06/04/2024, 8:58 AMdotnet run
.
AllowConcurrentLogins set to true is enough to remove the issue, but we're worried that since it probably shouldn't break like this with it set to false, there might be something else awry as well. This is not the default setting and it seems unlikely everyone has the same problem but just solves it this way.McNere
06/04/2024, 12:37 PMTackleMcClean 🏅
06/04/2024, 12:42 PMMcNere
06/04/2024, 12:44 PMTackleMcClean 🏅
06/04/2024, 12:45 PMAllowConcurrentLogins
to true perhaps?McNere
06/04/2024, 12:46 PMTackleMcClean 🏅
06/04/2024, 12:49 PMA hub and casual space for you to interact with fellow community members and learn more about Umbraco!
Powered by