You are here

function drupal_session_start in Session Proxy 7

Force session start.

Traditionally, this is lazzy done when requesting information from the session or using anyother session handling method.

This function has never been used outside of update.php so we need to rewrite it as well.

File

./session.inc, line 59
User session proxy to an advanced component-based interface.

Code

function drupal_session_start() {
  $session = SessionProxy_Helper::getInstance()
    ->getBackend();
  if (!$session
    ->isStarted()) {
    $session
      ->start();
  }
}