function _drupal_session_open

_drupal_session_open()

Session handler assigned by session_set_save_handler().

This function is used to handle any initialization, such as file paths or database connections, that is needed before accessing session data. Drupal does not need to initialize anything in this function.

This function should not be called directly.

Return value

This function will always return TRUE.

File

includes/session.inc, line 31
User session handling functions.

Code

function _drupal_session_open() {
  return TRUE;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!session.inc/function/_drupal_session_open/7.x