We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@twistor brought this up in #323 and I agree – sessions shouldn't be created until necessary.
The text was updated successfully, but these errors were encountered:
Static.Serve()
https://github.com/revel/revel/blob/master/session.go#L155 https://github.com/revel/revel/blob/master/session.go#L147
So, how about this:
if len(c.Session) > 0 { c.SetCookie(c.Session.cookie()) }
Sorry, something went wrong.
pushrax
No branches or pull requests
@twistor brought this up in #323 and I agree – sessions shouldn't be created until necessary.
The text was updated successfully, but these errors were encountered: