function _session_test_no_set

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,
    ));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.