Skip to content

Instantly share code, notes, and snippets.

@mttjohnson
Created February 13, 2019 16:53
Show Gist options
  • Save mttjohnson/4cb44085bed47fd267ad56dfc041d314 to your computer and use it in GitHub Desktop.
Save mttjohnson/4cb44085bed47fd267ad56dfc041d314 to your computer and use it in GitHub Desktop.
Extract gzipped redis session value for Magento 1.x
<?php
require_once 'app/Mage.php';
Mage::setIsDeveloperMode(true);
Mage::app();
$credis = new Cm_RedisSession_Model_Session();
$session = $credis->read('gqjcp9s28p8vabf2f14m2rf8b3');
var_dump($session);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment