You are here

function _drupal_session_open in Drupal 7

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.

1 string reference to '_drupal_session_open'
drupal_session_initialize in includes/session.inc
Initializes the session handler, starting a session if needed.

File

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

Code

function _drupal_session_open() {
  return TRUE;
}