1.20.x session_test.module _session_test_no_set($value)

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

File

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

Code

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