| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Also removed calls to fmt.Fprintf in AddFlash example. If a user
follows the old example then the session won't be stored.
See: https://github.com/gorilla/sessions/issues/39
|
| |
|
|
|
| |
This is something fairly important, it shouldn't be left out of the documentation.
|
| |
|
|
|
|
|
|
|
| |
Go will refuse to compile unless the last key is on the same line as the closing brace:
`non-declaration statement outside function body`.
Additionally, I set the HttpOnly flag on. I think this is a good default for everybody as it increases security and Gorilla's cookies are actually encrypted so JavaScript access is unlikely to be needed.
|
|
|
|
| |
session.Save().
|
|
|