WriteSafeSessionHandler::open

public WriteSafeSessionHandler::open($save_path, $session_id)

Re-initializes existing session, or creates a new one.

Parameters

string $savePath Save path:

string $sessionName Session name, see http://php.net/function.session-name.php:

Return value

bool true on success, false on failure

Overrides SessionHandlerInterface::open

See also

http://php.net/sessionhandlerinterface.open

File

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

Class

WriteSafeSessionHandler
Wraps another SessionHandlerInterface to prevent writes when not allowed.

Namespace

Drupal\Core\Session

Code

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

Please login to continue.