Well done @alexedwards on re-imagining scs. 🥇 This was a comprehensive rewrite. A number of items I appreciate:
Status
- Efficient load/save with help from
Status
- Session and SessionCookie are global in scope
- I also like that
IdleTimeout and Lifetime were split from the old options.
go.mod added for go modules support
For me, v2 solves a number of issues for which I had kept a permanent local fork of scs on my machine. (My fork was getting a bit dated too!)
I've done some testing and so far so good. I had one issue with a private token but this example provides a powerful solution to my issue.
Well done @alexedwards on re-imagining scs. 🥇 This was a comprehensive rewrite. A number of items I appreciate:
StatusStatusIdleTimeoutandLifetimewere split from the oldoptions.go.modadded for go modules supportFor me, v2 solves a number of issues for which I had kept a permanent local fork of scs on my machine. (My fork was getting a bit dated too!)
I've done some testing and so far so good. I had one issue with a private
tokenbut this example provides a powerful solution to my issue.