Comments (4)
Hmm... Maybe you should split the code up? Or use another adapter for Macaron session.
from session.
FYI, I've also asked the question (in a more general way) there lib/pq#569.
Let's see if they have a solution to suggest.
from session.
Sure... I guess they would ask you to only choose one of drivers or rewrite Macaron session/migrate app.
from session.
I close the issue as you provided a pragmatic solution and lib/pq's maintainers haven't responded to lib/pq#569
from session.
Related Issues (19)
- Use "import github.com/go-macaron/macaron" instead of "import gopkg.in/macaron.v1" HOT 1
- session 储存在memory中,是否只能存一个值? HOT 1
- How do I set the SameSite option on the session cookies? HOT 7
- Destory => Destroy? HOT 4
- [Feature Request] Provide examples for secure a rest API via (login/cookie) HOT 1
- session包可能存在不过期的bug HOT 4
- Reduce permissions of file store HOT 3
- Panic with "Value not found for type *macaron.Context" as soon as I add Sessioner HOT 1
- what's var _ Store = &store{} mean in session.go ? HOT 1
- Redis Sentinel Support (HA)
- session的CookieName可以改成大写M开头
- Flush() or Delete() doesn't work in mysql HOT 2
- 文档错误 HOT 1
- Allow setting cookie to be HttpOnly
- how to destroy a non-current user's session
- redis: would *Redis.Client reconnects automatically?
- race condition in FileStore
- http: panic serving [::1]:61196: session(start): gob: name not registered for interface: HOT 11
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 session.