Comments (5)
Is there any update on this or a work around? We need to have 'Session' cookies too so it gets deleted when the client closes the browser.
from sessions.
Yes please. Working session (temporary) cookies are sorely missed. If patching the obvious(?) bug would make existing usages break, then just add some other functions to handle session cookies.
Having to fork this project to change if session.Options.MaxAge <= 0 {
into if session.Options.MaxAge < 0 {
feels so silly. Doesn't most prjoject nowadays need session cookies to ease the issues with GDPR and et.al?
from sessions.
Hey folks, feel free to open a PR with a failing test and we can prioritise a fix for this.
from sessions.
Related Issues (20)
- Why are Options stored on each session record instead of the session store? HOT 5
- [question] How to set multiple cookies in one request? HOT 2
- [feature] Provide a method to delete/reset an existing session HOT 1
- deleted HOT 1
- Can two different controllers in two different files reference the same session object successfully? HOT 8
- Session doesn't cleanup HOT 3
- [question] How can I logout of a user from all other sessions except current one
- flash messages are not lost and are always saved when using gorilla mux HOT 4
- [bug] "More Examples" link in readme just links back to this repo HOT 1
- [question] Is there a way to store session data in file system and not in cookie HOT 1
- A question about deleting sessions HOT 3
- Changed auth/encryption key prevents the signed in user from accessing the webpage again HOT 17
- ⚠️ The Gorilla Toolkit is Looking for a New Maintainer HOT 2
- [feature] Add method to get cookie (to be used for request in tests) HOT 2
- SameSite is not set in the default path HOT 2
- Saving OAuth2 pointer in sessions HOT 1
- redigo: get on closed pool HOT 4
- securecookie: error - caused by: gob: name not registered for interface: "map[string]map[int]string" HOT 3
- Session still exists after setting MaxAge = -1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sessions.