/** * 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(); }
/** * Destroy session */ static function destroy($sessionid = false) { HTTP_Session::destroy($sessionid); }
function destroy() { HTTP_Session::destroy(); }
function process(Mobile_API_Request $request) { HTTP_Session::destroy(HTTP_Session::detectId()); header('Location: index.php'); exit; }