- Laravel 4/5?
- If it's Laravel 5, have you got an up-to-date version from source?
- Are you storing sessions properly, permissions to write to sessions folder/database etc?
- What session storage are you using?
- What settings do you have set in config/session.php?
Session cookie value changes
With every request to server, the session cookie value changes. This poses a problem on mobile since we have multiple processes making api calls and changing cookies seems to breaking stuff. We are going to run the application over ssl when deployed so we don't want the cookie values to change. We are fine with the remember_me cookie changing because that happens rarely and only when used. Correct me if I am wrong.
How do I go about preventing the cookie value from changing on every request? Or is there something we are doing wrong on mobile (Android specific)?
It shouldn't be like that if all is setup right and the browser accepts cookies.
If it's not storing it on the browser, Laravel will re-generate one on each request because the client did not send it with the request.
Please or to participate in this conversation.