_session_test_set_not_started

Versions
mediamosa-21
_session_test_set_not_started()

Menu callback, stores a value in $_SESSION['session_test_value'] without having started the session in advance.

Code

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

<?php
function _session_test_set_not_started() {
  if (!drupal_session_will_start()) {
    $_SESSION['session_test_value'] = t('Session was not started');
  }
}
?>