Beispiel #1
0
 function cookie($key = null, $default = null)
 {
     return $key ? $this->cookie_access->get($key, $default) : $this->cookie_access;
 }
Beispiel #2
0
 function regenerateId()
 {
     $this->cookie_access->set('session_id', rand());
     return $this->cookie_access->get('session_id');
 }