Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems with persisting sessions in laravel 5.2 #12820

Closed
lab6net opened this issue Mar 22, 2016 · 2 comments
Closed

problems with persisting sessions in laravel 5.2 #12820

lab6net opened this issue Mar 22, 2016 · 2 comments

Comments

@lab6net
Copy link

lab6net commented Mar 22, 2016

Hello

I started working on a new project, and i decided that i will give a try new laravel 5.2 (was using 4.x in previous projects).

I was testing sessions and i found out some strange behavior. Sessions are working correctly on chrome browser, but other browsers seems to drop sessions immediatly (tested on firefox and IE 10).

Im using homestead with vagrant on local environment (windows with virtual box). I defined my own test domain in host file and im accessing my project through that domain.

Im using database driver for sessions, and my routes are using "web" middleware.

Requests from chome maintain one record in session table, but requests from firefox create new entry every time i refresh that page.

Standard php sessions are working fine, this problem appears only when im using laravel sessions.

So anyone solved similar problem ?

@lab6net
Copy link
Author

lab6net commented Mar 22, 2016

Also i just noticed, that i forced session->save() in code, without that chrome also didn't want to remember sessions.

@dciancu
Copy link
Contributor

dciancu commented Apr 5, 2016

@lab6net take a look at this issue #13000, it's likely the problem you're having.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants