Level 10
is there a possibility that your session "driver" is set to array? the array driver doesn't persist through requests. (just an idea, otherwise I'm not sure).
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi , I am working on an application in laravel. I am facing a problem, my session expires within some seconds after i log in. It some times also happens when i send an ajax request. Please suggest some solution for this problem.
Thanks in advance.
Please or to participate in this conversation.