session
session copied to clipboard
A efficient, safely and easy-to-use session library for Go.
Readme states **More secure, signature-based tamper-proof**, does it means this works in stateless environment, where you do not require session stickiness?
I can not download the package using `go get -v github.com/go-session/session/v3` The error is `go get: module github.com/go-session/session/v3: stream error: stream ID 7; INTERNAL_ERROR` My Go Version: `go version go1.17.2...
go mod download get the error require github.com/go-session/session: version "v3.1.3" invalid: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v3.
``` go get -u -v github.com/go-session/gin-session github.com/go-session/session # github.com/go-session/session ../../../go/pkg/mod/github.com/go-session/[email protected]+incompatible/session.go:30:19: not enough arguments in call to uuid.Must have (uuid.UUID) want (uuid.UUID, error) ```
Hello would you pull this pull request please ASAP https://github.com/go-session/session/pull/7 Thank you
如何遍历所有已保存的session
我看了一下这个session框架,但是没有找到支持iris的,有计划写一个吗? 另外我感觉session模块应该能够独立于语言,跟语言无关,其实无非服务器端就是通过一个sessionid或者token来管理的,理论上是可以独立于语言,开发语言无关的一个模块,通过rpc的方式暴露使用。
I set session with init manager setting domain option. it is sub domain. manager := session.NewManager( session.SetCookieName(...), session.SetCookieLifeTime(...), session.SetExpired(int64(...)), session.SetStore(...), session.SetSessionID(...), session.SetDomain(*.testdomain.com), ) And, When I destroy session call function...
Hi, I am trying to use this lib with github.com/go-session/cookie. I am getting some incompatibility error messages. The reason I would like to use v3 is the SameSite flag. ```...