コード例 #1
0
ファイル: base.php プロジェクト: universsky/lazybug-for-api
 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');
 }
コード例 #2
0
ファイル: logout.php プロジェクト: universsky/lazybug-for-api
 public function act()
 {
     // 注销页面
     Util_Client_Cookie::unset_cookie('userid');
     Util_Server_Response::set_header_location('/login');
     exit;
 }