jshttp / jshttp.github.io

https://jshttp.github.io/
MIT License
47 stars 3 forks source link

session module? #26

Closed dead-horse closed 9 years ago

dead-horse commented 9 years ago

can we create a new session module can be used in all web frameworks?

jonathanong commented 9 years ago

that would be more middleware imo unless you can make a pluggable god object, which would be difficult to suit everyone's needs. sessions are also very opinionated and db-specific. for ex, i think this is really good:

Fishrock123 commented 9 years ago

As sessions are not directly an http 'thing', I think that belongs elsewhere in any case.

Raynos commented 9 years ago

I've had great success with https://github.com/rvagg/node-generic-session