• Lodra@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Where are you seeing this happen?

    Usually, a “session” represents a client being logged into a server. For example, when you log into a website like github, a user session is created and bits of it are stored in cookies in your browser. This is what allows you to continue clicking around the website for a while without having to enter credentials constantly.

    A session being invalidated usually means that the system has decided that you are no longer authenticated. For example, github hasn’t seen you clicking around the site for 60 minutes and so it logs you out. But there are many reasons why this will happen. If you want to use the site again, you have to log back in.

    FYI, this type of security is pretty basic stuff for web development. There’s loads of info available if you want to learn more.