_drupal_session_close

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部