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

kaaf030191's avatar

Session does not work on multiple ajax requests

The problem is that when I make multiple ajax peticines a burden sessions laravel not loaded properly in some cases.

An example is that the ajax requests go to the same controller and that valid driver if the session exists or not to continue the process and send uninitialized session error ; then, here's the problem . 7 requests , for example , 3 can load plain and the rest indicates no session but is sandwiched without any pattern specific and is not that the session is lost because navigating the site can still movilizarme with the active session is the one to which I turn for verification and when I reload that page with ajax requests sometimes load 5 normal and the rest does not recognize the session or some other times quite normal load .

I hope you can help me with this problem and I thank you in advance case . Greetings.

0 likes
0 replies

Please or to participate in this conversation.