I am using Laravel 5 ("laravel/framework" version is " v5.1.16", Homestead Ubuntu), with session driver = 'file'.
I noticed that if a number of async AJAX requests (jQuery) are fired eg. in autocomplete search form field then the session variables are gone.
This happens, only with async AJAX requests, when async option is set to false this problem no longer exists.
Also, when session driver is set to 'cookie' and async set to true there is a new cookie created on each AJAX request, so with 10 requests there will be 10 laravel cookies etc.
Any suggestions? I have failed to find any decent cause or solution to this, except not using async requests.
Related issues, which seems to be fixed.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire