WriteSafeSessionHandler::destroy

public WriteSafeSessionHandler::destroy($session_id)

Destroys a session.

Parameters

string $sessionId Session ID, see http://php.net/function.session-id:

Return value

bool true on success, false on failure

Overrides SessionHandlerInterface::destroy

See also

http://php.net/sessionhandlerinterface.destroy

File

core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php, line 45

Class

WriteSafeSessionHandler
Wraps another SessionHandlerInterface to prevent writes when not allowed.

Namespace

Drupal\Core\Session

Code

public function destroy($session_id) {
  return $this->wrappedSessionHandler->destroy($session_id);
}
doc_Drupal
2016-10-29 09:56:48
Comments
Leave a Comment

Please login to continue.