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

[NFR] Database session save handler #67

Closed
niden opened this issue Sep 9, 2012 · 3 comments
Closed

[NFR] Database session save handler #67

niden opened this issue Sep 9, 2012 · 3 comments

Comments

@niden
Copy link
Member

niden commented Sep 9, 2012

DB session save handler - it would be cool if besides file adapter a db adapter would exists. Once again, it can be solved through session_set_save_handle but it would be so much cooler if Phalcon would handle it internally.

The adapter should be able to work with PHQL and thus with any backend supported by the Phalcon\Db

@mrspartak
Copy link

It would very cool.
But in our age, the rightest way is to make noSQL adapter, such as Redis to store the Sessions.

@niden
Copy link
Member Author

niden commented Nov 16, 2012

With 0.7 we will have interfaces on all components. Therefore anyone can
implement session handlers to save to any database or storage medium. Redis
of course is a popular one. I don't know if this will become part of the
framework in the very near future, but user implementations in PHP can
definitely do the job until it becomes.

@phalcon
Copy link
Collaborator

phalcon commented Nov 26, 2012

This is currently addressed in the incubator https://github.com/phalcon/incubator/tree/master/Library/Phalcon/Session/Adapter

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

No branches or pull requests

2 participants