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
Restart of session doesn't work #23
Comments
I agree that cookie should be sent only once. |
Nette\Http\Session is a singleton wrapper for PHP bugs, quirks and insecurities. Ad-hoc fix: Don't send output to user before starting session for second time. Solution: Create basket for data, store it in different storage (ie.: database) and its id in session. Flush headers immediately. Work... Then update basket and store it again. |
I need to close session before long-runing operation, because unclosed session blocks other processes.
It returns "headers already sent..". Cookie should not be sends again, if I call start() more times, or not?
Sorry for my English.
The text was updated successfully, but these errors were encountered: