function _drupal_session_close

_drupal_session_close()

Session handler assigned by session_set_save_handler().

This function is used to close the current session. Because Drupal stores session data in the database immediately on write, this function does not need to do anything.

This function should not be called directly.

Return value

This function will always return TRUE.

File

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

Code

function _drupal_session_close() {
  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_close/7.x