Migrating php sessions to redis #255

halukakin opened this Issue Sep 29, 2012 · 3 comments


None yet

4 participants


The way I understand it. If we were to switch redis for php session handling. Existing session data would be lost.

So we need to write some sort of migration script. I checked out the following script. I wanted to see if it is possible to code something similar. But a few functions similar to writeRawSession(),encodeData(), are probably necessary before we can code a migration script.

It would be great if you could provide similar functions.



just created such a script in bash and added to my repo.



+1 For using the mass insertion protocol. :)


@renasboy Thanks for the migration script!

@nicolasff nicolasff closed this Feb 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment