Set session for logged-in members

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