Hm I tried to jump in code to find something about it, but couldn't find it yet. If you do find a way, don't forget to update this / update the documentation :-)
Did found out the timeout is 30 minutes by default (you can see that in the yourAuthCookie that's set on logging in to a member area)
Perhaps they use the default sessionstate from .net core?
How to set member authentication expiration timeout
Hi, in Umbraco V8 we could set member authentication timeout the following way in the web.config file :
How can this be done with v9 when using IMemberManager.PasswordSignInAsync() ?
Thank you
You could try setting the Umbraco.Cms.Global.Timeout value: https://our.umbraco.com/documentation/reference/V9-Config/GlobalSettings/
It's not fully described here, but the first part are settings that are general for users and members, so I reckon this could be it: https://our.umbraco.com/documentation/reference/V9-Config/SecuritySettings/#keep-user-logged-in
Thanks Ambert but those settings seems to affect back office users, not front-end members.
Hm I tried to jump in code to find something about it, but couldn't find it yet. If you do find a way, don't forget to update this / update the documentation :-)
Did found out the timeout is 30 minutes by default (you can see that in the yourAuthCookie that's set on logging in to a member area)
Perhaps they use the default sessionstate from .net core?
How about doing this in your Startup.cs:
services.ConfigureApplicationCookie(options => { options.ExpireTimeSpan = TimeSpan.FromMinutes(30); });
Thank you, this is working great.
is working on a reply...