php - SimpleSAMLphp Stay Logged In -
I am confused about cookie settings in config.php.
I have an identity provider and three service providers. I want my users to be able to log in on the site within the X number again. I have set the and How do I use cookies to automatically log myself in if the user has not expired? Session duration is taking priority over the cookie lifetime. The cookie data is valid using a session, so both This is usually a good idea to allow session.cookie.lifetime to 7 days (60 * 60 * 24 * 30)
session.duration is set to default 8 hours (60 * 60 * 8).
session.duration And
session.cookie.lifetime must be at least seven days in your case. When the session is ending, the server will not recognize it, because the cookie is useless.
session.duration a bit
Session.cookie.lifetime for clock skew.
Comments
Post a Comment