sessions icon indicating copy to clipboard operation
sessions copied to clipboard

Gin middleware for session management

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

When I restart server, I found that old cookie was still work. Is the cookie stored in file system? If so, where the cookie was stored (file path)

`defer context.Clear(c.Request)` does not make sense now because this library depends on `github.com/gorilla/sessions v1.2.0`. So delete `defer context.Clear(c.Request)` and, `go mod tidy` to delete dependency to `gorilla/context`(UPDATE: https://github.com/gin-contrib/sessions/pull/131 made a...

I found `github.com/gorilla/context` had been in maintenance mode, After some search of dependency for it. I truly just find one place that uses the gorilla context, as follows: https://github.com/gin-contrib/sessions/blob/master/sessions.go#L64 ```...

This pull request replaces redigo with redis-go in Redis store implementation. Such change provides additional flexibility by using Redis client interface to construct a new store, which adds the possibility...

Is any library recommended to use with gin for csrf protection? There's no official CSRF protection library right?

Hello Folks, I am still trying to learn how to use the gin-conrtib/sessions to retrieve the values in a hash. Using the redist-cli command HGETALL I am able to retrieve...

User can create many sessions using `SessionsMany()` supplying array of names for sessions. The problem is that the same store is used for that. I'd like to use store A...

Based off of discussions in: https://github.com/gin-contrib/sessions/issues/124 The basic premise: Sometimes it is helpful to have different session stores for sessions that have a different purpose. For example: - CSRF tokens...

store, _ := redis.NewStore(10, "tcp", "localhost:6379", "123456789", []byte("secret")) if I want to use the db2 of redis,What do I need to do