sessions icon indicating copy to clipboard operation
sessions copied to clipboard

Package gorilla/sessions provides cookie and filesystem sessions and infrastructure for custom session backends.

Results 18 sessions issues
Sort by recently updated
recently updated
newest added

// Add a value session.Values["foo"] = "bar" // Save session if err = sessions.Save(req, w); err != nil { log.Fatal("failed saving session: ", err) } when the "bar" is interface{},the...

question

**Describe the bug** When a single pair of an authentication key and encryption key is used - changing it prevents the signed in user from accessing the webpage again. **Versions**...

bug

The SameSite patch in #165 and #170 forgot to initialize SameSite to a value in the default path. I think the intent was to initialize it to http.SameSiteDefaultMode. Currently this...

bug

Summary of Changes Don't consider "oserror.ErrNotExist" as a failure when trying to erase a session which corresponds to a missing file. Hello, in the current implementation if a request contains...

stale

I use gorilla mux. When I access the flash message. The flash message is always stored and cannot be lost. Is there any solution ? ``` var SessionCookie = newCookieStore()...

bug

### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior Using the file store `sessions.NewFilesystemStore("", []byte("secret"))` and saving a new session...

bug

### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior I wrote Gorilla Sessions to manage login and logout sessions a...

bug

**Problem** > Hi! I was trying to run my code, but it appears this error: > `securecookie: error - caused by: gob: name not registered for interface: "map[string]map[int]string"` > I've...

question

### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior Getting following issue while get this package and building because of...

bug

## What type of PR is this? (check all applicable) - [ ] Refactor - [ ] Feature - [X] Bug Fix - [ ] Optimization - [ ] Documentation...

size/S