Cookie expiration explanation needed

This topic is similar to User Session expiration explanation needed but in a bit different

I have a Security Providers with settings bellow:

We set Cookies to have 30 days of expiration but:

  1. In user session table I see this:

  1. And if I look up for web-site cookie settings I see this:

I’m asking some explanation how those things connects to each other?
Where I can see that Cookie expiration is really set and it works?

The cookie is only set when the “remember me” option is set. I.e. if you have the remember me in login action set to 1, or if a checkbox that controls it on the login page is checked.
If this option is not set, the login cookie is not set.

2 Likes

Thank you.
Tested with Remember Me 1 - and Indeed - cookie is created with exact 30 days of expiration.

Thank you @Teodor

1 Like