go-sessions
go-sessions copied to clipboard
:closed_lock_with_key: The sessions manager for the Go Programming Language. Supports both net/http and fasthttp.
The [Database interface](https://github.com/kataras/go-sessions/blob/90952754bf2dbaecfd909b44484464ac0ad4573d/database.go#L22) should be duplicated and modified (e.g. `DatabaseWithCtx`) to support receiving the request context for each method call. For example: ```go type Database interface { Acquire(sid string, expires...
No need to call `Write + []byte + Sprintf`, just use `Fprintf`.
Maybe I'm say false but I really don't understand why only localhost addresses? Maybe need full check all addresses IPv4? @https://github.com/kataras/go-sessions/blob/90952754bf2dbaecfd909b44484464ac0ad4573d/cookie.go#L98
in the sessions.go file ,the function updateCookie with sub code: ``` // RFC2109, we allow level 1 subdomains, but no further // if we have localhost.com , we want the...
把旧版本的DefaultStart 加回来 因为socket无法传http参数
``` /pkg/mod/github.com/kataras/[email protected]+incompatible/config.go:127:10: assignment mismatch: 2 variables but uuid.NewV4 returns 1 values ``` github.com/satori/go.uuid v1.2.0 // indirect github.com/kataras/go-sessions v3.0.0+incompatible
return 1 values
how to modify the value of Cookie in fasthttp mode? The value of Cookie can be set by the attribute "Cookie" of sessions.Config in net/http mode; But how to do...
Can you post example of fasthttp with redis as backend store? Thanks.
Hi Thanks for your work on this library, @kataras . This is regarding the in-memory session state stored by this library(after the first Start()). Many multi-process/multi-node app setups share a...