Пример #1
0
 /**
  *  destroy()
  *
  * @access public
  * @return void
  */
 function destroy()
 {
     $_SESSION = array();
     if (isset($_COOKIE[session_name()])) {
         $aryCookieParams = session_get_cookie_params();
         setcookie(session_name(), '', time() - 42000, $aryCookieParams['path'], $aryCookieParams['domain'], $aryCookieParams['secure']);
     }
     parent::destroy();
 }
Пример #2
0
 /**
  * Destroy session
  */
 static function destroy($sessionid = false)
 {
     HTTP_Session::destroy($sessionid);
 }
Пример #3
0
 function destroy()
 {
     HTTP_Session::destroy();
 }
Пример #4
0
 function process(Mobile_API_Request $request)
 {
     HTTP_Session::destroy(HTTP_Session::detectId());
     header('Location: index.php');
     exit;
 }