You are here

function _session_test_no_set in Drupal 7

Menu callback: turns off session saving and then tries to save a value anyway.

1 string reference to '_session_test_no_set'
session_test_menu in modules/simpletest/tests/session_test.module
Implements hook_menu().

File

modules/simpletest/tests/session_test.module, line 111

Code

function _session_test_no_set($value) {
  drupal_save_session(FALSE);
  _session_test_set($value);
  return t('session saving was disabled, and then %val was set', array(
    '%val' => $value,
  ));
}