StoreInSession calls Store.New creating a new session every time
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 6.6k
- Forks
- 631
- PR merge metrics
- No merged PRs in 30d
Description
err := gothic.StoreInSession("test", "test-value, req, res)
if err != nil {
fmt.Println("error storing client in session: ", err)
return
}
val, err := GetFromSession("test", req)
if err != nil {
fmt.Println("error retrieving value for 'test' that was just set: ", err)
}
// GetFromSession fails 100% of the time
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the StoreInSession and Store.New entry points, then reproduce the failure with the Go snippet in the issue. Trace how the session store is created and used by GetFromSession; done means a value stored by StoreInSession can be retrieved from the same request session.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- authentication, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100