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