I signed in with my Google account. I was looking at the cookies kbin sets and the user token REMEMNERME is only set to last for one week.

Does this mean I have to religion after a week?

If not, how does kbin know to keep me logged in after the REMEMBERME cookie expires?

  • Algeerto@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Cookies can have something called a “sliding expiration”, which means it will automatically extend the expiration date when you visit. There is also an absolute expiration, so at some point it’ll have to be reset no matter what.

  • Esca@lemmy.one
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Most likely if you don’t visit for a week, you will get logged out. But if you do visit before it expericed, it just resets the cookie for another week.

    I’m not on kbin so I cannot check, but that’s my guess.