Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session store adapter #171

Closed
mikermcneil opened this issue Feb 26, 2013 · 3 comments
Closed

Session store adapter #171

mikermcneil opened this issue Feb 26, 2013 · 3 comments

Comments

@mikermcneil
Copy link
Member

Include Session model in new projects, which is automatically hooked up to Express and Socket.io for accessibility via req.session. In can also be queried like any other model and hooked up to any adapter.

@mikermcneil
Copy link
Member Author

It is 50/50 we'll go this route, so leaving this open.

#405

@mikermcneil
Copy link
Member Author

9 months later- while unlikely we'll add a Session model to projects (adds unnecessary complexity), it is likely that we'll go the route of a generic connect-session-sails module which plugs in the connect session to any Waterline adapter. See #405 (comment).

This is not a priority, since it's mainly just for consistency. However, it would allow for things like putting your session in postgres, mongo, mysql, or sails-disk, not just redis.

@mikermcneil
Copy link
Member Author

Update- all connect session stores are now supported. See fafa2e2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant