sessions
sessions copied to clipboard
Gin middleware for session management
0 So, i just created a backend setting session and getting session for my app. I would like to access via endpoint getting session i did that, but always session...
So I have made socket Io connections and I can get cookie string from that, but I need to decode the data, I have only access to http.Request and http.Cookie...
Hi~ I want to use redis cluster for session, but I got an error says that session moved. `MOVED 1596 ` Does the redis store support cluster? Thanks
In a page with two image verification codes, the values of the two image verifications are stored using session, at which time the two verification codes will conflict, and the...
Hello, I want to set MaxAge to 0 for expiration time in browser side but I want to give another MaxAge for my redis store. Is it possible to do...
Hi! I check the api: "github.com/gin-contrib/sessions/redis" 1. func NewStoreWithDB(size int, network, address, password, DB string, keyPairs ...[]byte) (Store, error), **no username filed,** 2. can't reuse the go-redis's handle (created by...
Add support for database/sql mysql backend. Also provide a unittest for it. Example and link for README.MD included.
Hi, I try to use sessions in a unit test, but I'm facing a problem when trying to test a class, which uses "github.com/gin-contrib/sessions". This is a stripped down version...
I need to set the browser cookie expiration based on the session. Session.Options(sessions.Options{MaxAge:0}) can be implemented, but it directly causes the stored session to expire and the client cannot request...