-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Restarting session after ID regeneration looses session #129
Comments
For information ID is taken from cookie since nette/nette#965. Can you send PR? |
What is correct fix for this issue? Always get session ID using |
dg
added a commit
that referenced
this issue
Mar 14, 2018
dg
added a commit
that referenced
this issue
Mar 14, 2018
dg
added a commit
that referenced
this issue
Mar 14, 2018
dg
added a commit
that referenced
this issue
Mar 14, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I found problem with restarting session after session ID was regenerated.
This is because
\Nette\Http\Session::start()
takes session ID always from request cookie. Invocation of\Nette\Http\Session::regenerateId()
changes session ID. Closing session and starting session again changes session ID to value which is stored in cookie, but this session ID is already deleted.Steps To Reproduce
The text was updated successfully, but these errors were encountered: