_drupal_session_open

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部