Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

patpaskoch's avatar

SPA and Laravel Session

I am just looking for information on how to go over, handling laravel session states with a spa. Is there any nice resource i can look at to get more qualified detailed inforamtion about that topic?

How to go about informing the user that the session expires and renew it?

greetings patrick

0 likes
1 reply
primordial's avatar

@patpaskoch In short, you don't use sessions you use tokens. JWTs pronounced "jots". It is known as stateless authentication.

Please or to participate in this conversation.