I have specific pages where Restrict Public Access is applied. Has anyone tried setting a session for logged-in members? I want the session to expire after 30 minutes.
Which version of Umbraco are you using?
Hey Huwred,
I’m using Umbraco 12.3.10
try adding this to your program/startup file
builder.Services.ConfigureApplicationCookie(options => { options.ExpireTimeSpan = TimeSpan.FromMinutes(30); });
Awesome. Let me try that. Thank you.
It’s working. Thank you, Man. appreciate it.
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
I wonder if there is any way to set different values based on the logged-in member? Is it possible to set the cookie timeout as part of the login, rather than part of the startup?