1.20.x session_test.module _session_test_set($value)

Page callback, stores a value in $_SESSION['session_test_value'].

File

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

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