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

DanielJohan's avatar

Session expires, reload message to user

Hello Guys,

I have a Laravel, Vue3 app (Inertia and Jetstream).

When the session expires, the frontend doesn't work well anymore. Some data does not show anymore.

I would like to tell the user to reload the data, but I don't know what variable or trigger I can use for this.

Is there some prop that would be ideal for this?

Thanks in advance

0 likes
1 reply
experimentor's avatar
Level 25

You could catch the errors in the frontend and trigger a reload via javascript.

2 likes

Please or to participate in this conversation.