Posts tagged “sessions”

  1. Sessions or JWTs: which should you use to keep users signed in?

    Two good ideas for different jobs. For a web app with its own backend, server-side sessions are simpler and safer: a random cookie, instant revocation, nothing sensitive in the browser. JWTs earn their place between services and across organisations, where checking a signature beats a database…

    · 5 min read · Security