You are here

function drupal_session_commit in Session Proxy 7

Commits the current session, if necessary.

If an anonymous user already have an empty session, destroy it.

1 string reference to 'drupal_session_commit'
drupal_session_initialize in ./session.inc
Initializes the session handler.

File

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

Code

function drupal_session_commit() {
  return SessionProxy_Helper::getInstance()
    ->getBackend()
    ->commit();
}