Example #1
0
 function MY_Session()
 {
     parent::CI_Session();
     $this->validateSession();
 }
Example #2
0
 function MY_Session($params = array())
 {
     // encryption must be forced on to alleviate conflict between WordPress and CI treatments of $_COOKIE scope
     $params['sess_encrypt_cookie'] = TRUE;
     parent::CI_Session($params);
 }
Example #3
0
 public function __construct()
 {
     parent::CI_Session();
     $this->is_logged_in();
 }