Session handling broken? #43

neilferreira opened this Issue May 14, 2012 · 5 comments


None yet
2 participants


I've just setup the session handling as instructed inside the documentation.

Even though I've called session set etc, my redis db has no keys inside it when I dump the contents of it, making me believe that the session data isn't really being stored inside redis.

The 'RedisSessionHandler' constructor appears to be called, but even if i put an exit statement inside the 'read' method it never appears to be reading the session data from redis.

If you can please confirm that it should actually be working with the current symfony2 master repository that would be much appreciated.



snc commented May 14, 2012

Have you run the MONITOR command using redis-cli on the command line? If you see no action there while browsing on your Symfony2 project then something must be wrong.

I've just run MONITOR and northing seems to be coming up, I'll dig a little deeper.


I've tried digging deeper, I can't figure it out right now - as I'm on a tight deadline I'll stick with a PDO driver for now.



snc commented May 14, 2012

I can reproduce it and yes it does not work with latest master. I will push a fix soon. Thanks for reporting.

snc added a commit that referenced this issue Jun 1, 2012


snc commented Jun 1, 2012

Sorry I was quite busy but the session storage handler now works again.

@snc snc closed this Jun 1, 2012

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