1 session_test.module _session_test_get()

Page callback, prints the stored session value to the screen.

File

core/modules/simpletest/tests/session_test.module, line 79

Code

function _session_test_get() {
  if (!empty($_SESSION['session_test_value'])) {
    return t('The current value of the stored session variable is: %val', array('%val' => $_SESSION['session_test_value']));
  }
  else {
    return "";
  }
}