Exemplo n.º 1
0
 protected function unset_cookie()
 {
     Util_Client_Cookie::unset_cookie('userid');
     Util_Client_Cookie::unset_cookie('username');
     Util_Client_Cookie::unset_cookie('time');
     Util_Client_Cookie::unset_cookie('secstr');
 }
Exemplo n.º 2
0
 public function act()
 {
     Cookie::unset_cookie('userid');
     Response::set_header_location('/index.php/login');
     exit;
 }