function _session_test_set_not_started
Menu callback, stores a value in $_SESSION['session_test_value'] without having started the session in advance.
1 string reference to '_session_test_set_not_started'
- session_test_menu in drupal-7.x/
modules/ simpletest/ tests/ session_test.module - Implements hook_menu().
Archivo
- drupal-7.x/
modules/ simpletest/ tests/ session_test.module, line 147
Código
function _session_test_set_not_started() {
if (!drupal_session_will_start()) {
$_SESSION['session_test_value'] = t('Session was not started');
}
}