function _session_test_set
Page callback, stores a value in $_SESSION['session_test_value'].
1 call to _session_test_set()
- _session_test_no_set in modules/
simpletest/ tests/ session_test.module  - Menu callback: turns off session saving and then tries to save a value anyway.
 
1 string reference to '_session_test_set'
- session_test_menu in modules/
simpletest/ tests/ session_test.module  - Implements hook_menu().
 
File
- 
              modules/
simpletest/ tests/ session_test.module, line 102  
Code
function _session_test_set($value) {
  $_SESSION['session_test_value'] = $value;
  return t('The current value of the stored session variable has been set to %val', array(
    '%val' => $value,
  ));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.