-
Notifications
You must be signed in to change notification settings - Fork 158
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
Multiple session/cookies for user on many user agent browser #363
Comments
Hi @emiliosa - I am not sure if i get the problem right, what do you mean with:
What do you change in detail? |
@jstrobel thanks for your response. On desktop mode: Switch to mobile view mode (from DevTools button): You can see UserAgent have been changed, user session that were based on this cookie is not the same and the user gets kickoff (Auth::instance()->get_user() is NULL). This behaviour does not happen using Firefox. Possible solutions:
I hope i made myself clear. |
I'll have a look at it tomorrow, may be a bug... |
No i don‘t think that. |
@emiliosa and @jstrobel Sorry for my late reply... Salt in bootsrap Cookie Class Line 123 Whenever the user agent changes the cookie cannot be found and a new cookie/session is generated (the old one is no longer valid). This is expected behavior BUT as of now i think we should change that. Chrome Dev Tools (Your case) Every time something above happens the user will get logged out / the cookie will be invalid. What do you think @neo22s @jstrobel @svenbw @piotrbaczek |
Merged, will be within the release of 4.0 |
Hi everyone, im not sure if this is a bug, issue, or is a common behaviour.
Im still using kohana v3, auth/orm/many others modules.
Everything works fine since 4~5 years ago, but i always have the same issue:
After any user logs in, it gets redirect to home page. Later if i change the broswer mobile view, and useragent attr changes (some browser do not change like firefox, but chrome does), a new session is created and user gots redirect to login page:
Auth::instance()->logged_in() is FALSE
Auth::instance()->get_user() is NULL
My config:
Im using database driver Session::$default = 'database'
Anyone with same problem?
Thanks.
The text was updated successfully, but these errors were encountered: