Beispiel #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');
 }
Beispiel #2
0
 public function act()
 {
     // 注销页面
     Util_Client_Cookie::unset_cookie('userid');
     Util_Server_Response::set_header_location('/login');
     exit;
 }