Category "laravel-session"

How to reliably detect an expired Laravel session?

I am working on a web client which does a lot of AJAX request. The backend is written in Laravel. If the backend throws a PHP exception, the backend sends a JSO

How can I persist Laravel session data using Inertia Vue?

I'm having trouble updating session values using Inertia.js. The behavior I was expecting was that the redirect to 'Home' would happen only once. Once the sessi

Is it possible to use session from kernel console command in laravel?

I'm trying to fetch data from sessions when I run a command in my console, but session always returns an empty array! php artisan command:mycommand Below is