Skip to content

Nitecon/zdbsession

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zDbSession

Note: using a mapper for sessions may cause anxiety attacks, panic and chaos. I did it and I confirm the symptoms. You should probably use the raw dbal connection …

On 7 Jun 2013 00:05, "Tim Roediger" notifications@github.com wrote: It can be done. As @bakura10 https://github.com/bakura10 said, just write a new storage class and specify it in the config. However, you may want to avoid using doctrine itself to persist to the db. If you do, you can't use anything in the session until after doctrine has bootstrapped, which is normally later than you might want in the zf2 request handling process.

— Reply to this email directly or view it on GitHubdoctrine/DoctrineModule#270 (comment)

After many hours of trying to get this to work properly I finally gave up, as mentioned above the main issue that exists is "you can't use anything in the session until after doctrine has bootstrapped" which is rather annoying issue to get by. I will leave the module up for educational purposes only but my other DBSessionStorage module should be used in place of this one.

Link for DBSessionStorage is here: https://github.com/Nitecon/DBSessionStorage

About

ZF2 module for saving sessions to database using doctrine entities, this module will deprecate my previous db session module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages