Skip to content

Instantly share code, notes, and snippets.

@ikawka
Created May 29, 2013 03:22
Show Gist options
  • Save ikawka/5667765 to your computer and use it in GitHub Desktop.
Save ikawka/5667765 to your computer and use it in GitHub Desktop.
Redis CI Session
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
This shoul be paired with https://github.com/joelcox/codeigniter-redis
*/
class MY_Session extends CI_Session{
private $sess_use_redis = TRUE;
private $redis = '';
public function __construct($params = array()) {
//parent::__construct();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment