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

martin182's avatar

Refresh session user

Hi, I am making a popup to notificate the user that the session will be destroyed in an certain amount of time. In the popup I have a button called "continue session". Is there an easy way in Laravel to refresh won't be logged out?

0 likes
1 reply
tisuchi's avatar

I don't think so there is a way for that. But you can think in a different way.

For example-

  • You can define a session for a long time.
  • Show popup after a certain time and if the user doesn't want to continue then sign out, otherwise continue.

Please or to participate in this conversation.