session_test.module

File

drupal/core/modules/system/tests/modules/session_test/session_test.module
View source

Functions

Namesort descending Description
session_test_boot Implements hook_boot().
session_test_drupal_goto_alter Implements hook_drupal_goto_alter().
session_test_form_user_login_form_alter Implements hook_form_FORM_ID_alter().
session_test_menu Implements hook_menu().
session_test_user_login Implements hook_user().
_session_test_get Page callback, prints the stored session value to the screen.
_session_test_id Menu callback: print the current session ID.
_session_test_id_from_cookie Menu callback: print the current session ID as read from the cookie.
_session_test_is_logged_in Menu callback, only available if current user is logged in.
_session_test_no_set Menu callback: turns off session saving and then tries to save a value anyway.
_session_test_set Page callback, stores a value in $_SESSION['session_test_value'].
_session_test_set_message Menu callback, sets a message to me displayed on the following page.
_session_test_set_message_but_dont_save Menu callback, sets a message but call drupal_save_session(FALSE).
_session_test_set_not_started Menu callback, stores a value in $_SESSION['session_test_value'] without having started the session in advance.