Search for session
- Search 9.5.x for session
- Search 8.9.x for session
- Search 10.3.x for session
- Search 11.x for session
- Search main for session
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| SessionTestCase::testSessionWrite | function | modules/ |
Test that sessions are only saved when necessary. |
| SessionUnitTestCase | class | modules/ |
Unit tests for session handling. |
| SessionUnitTestCase::getInfo | function | modules/ |
|
| SessionUnitTestCase::testCookieDomain | function | modules/ |
|
| SessionUnitTestCase::testSessionInitialization | function | modules/ |
Unit test drupal_settings_initialize(). |
| session_test.info | file | modules/ |
name = "Session test" description = "Support module for session data testing." package = Testing version = VERSION core = 7.x hidden = TRUE |
| session_test.module | file | modules/ |
|
| session_test_boot | function | modules/ |
Implements hook_boot(). |
| session_test_drupal_goto_alter | function | modules/ |
Implements hook_drupal_goto_alter(). |
| session_test_form_user_login_alter | function | modules/ |
Implements hook_form_FORM_ID_alter(). |
| session_test_menu | function | modules/ |
Implements hook_menu(). |
| session_test_user_login | function | modules/ |
Implements hook_user(). |
| UpdatePathTestCase::prepareD7Session | function | modules/ |
Overrides UpgradePathTestCase::prepareD7Session(). |
| update_get_d6_session_name | function | includes/ |
Constructs a session name compatible with a D6 environment. |
| UpgradePathTestCase::prepareD7Session | function | modules/ |
Prepares the appropriate session for the release of Drupal being upgraded. |
| UserBlocksUnitTests::insertSession | function | modules/ |
Insert a user session into the {sessions} table. This function is used since we cannot log in more than one user at the same time in tests. |
| UserLoginTestCase::testLoginWithAnonSession | function | modules/ |
Test logging in when an anon session already exists. |
| user_session_test.info | file | modules/ |
name = "User module session tests" description = "Support module for user session testing." package = Testing version = VERSION core = 7.x hidden = TRUE |
| user_session_test.module | file | modules/ |
Dummy module implementing a page callback to create an anon session. |
| user_session_test_anon_session | function | modules/ |
Page callback. |
| user_session_test_menu | function | modules/ |
Implements hook_menu(). |
| _drupal_session_close | function | includes/ |
Session handler assigned by session_set_save_handler(). |
| _drupal_session_delete_cookie | function | includes/ |
Deletes the session cookie. |
| _drupal_session_destroy | function | includes/ |
Session handler assigned by session_set_save_handler(). |
| _drupal_session_garbage_collection | function | includes/ |
Session handler assigned by session_set_save_handler(). |
| _drupal_session_open | function | includes/ |
Session handler assigned by session_set_save_handler(). |
| _drupal_session_read | function | includes/ |
Reads an entire session from the database (internal use only). |
| _drupal_session_regenerate_existing | function | includes/ |
Regenerates an existing session. |
| _drupal_session_write | function | includes/ |
Writes an entire session to the database (internal use only). |
| _session_test_get | function | modules/ |
Page callback, prints the stored session value to the screen. |
| _session_test_id | function | modules/ |
Menu callback: print the current session ID. |
| _session_test_id_from_cookie | function | modules/ |
Menu callback: print the current session ID as read from the cookie. |
| _session_test_is_logged_in | function | modules/ |
Menu callback, only available if current user is logged in. |
| _session_test_no_set | function | modules/ |
Menu callback: turns off session saving and then tries to save a value anyway. |
| _session_test_set | function | modules/ |
Page callback, stores a value in $_SESSION['session_test_value']. |
| _session_test_set_message | function | modules/ |
Menu callback, sets a message to me displayed on the following page. |
| _session_test_set_message_but_dont_save | function | modules/ |
Menu callback, sets a message but call drupal_save_session(FALSE). |
| _session_test_set_not_started | function | modules/ |
Menu callback, stores a value in $_SESSION['session_test_value'] without having started the session in advance. |
| _user_cancel_session_regenerate | function | modules/ |
Implements callback_batch_finished(). |
Pagination
- Previous page
- Page 2
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.