Created
December 30, 2013 15:02
-
-
Save ericsk/8183095 to your computer and use it in GitHub Desktop.
WindowsAzureSessionHandler 的 destroy 方法
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Callback function for session handler. It's invoked while the session is being destroyed. | |
* | |
* @param $sessionId The session ID. | |
* | |
* @return boolean If the destroy process success. | |
*/ | |
public function destroy($sessionId) { | |
try { | |
$this->_tableRestProxy->deleteEntity($this->_sessionContainer, $this->_sessionContainerParition, $sessionId); | |
return TRUE; | |
} catch (ServiceException $e) { | |
return FALSE; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment