You are here

function _session_test_id_from_cookie in Drupal 7

Menu callback: print the current session ID as read from the cookie.

1 string reference to '_session_test_id_from_cookie'
session_test_menu in modules/simpletest/tests/session_test.module
Implements hook_menu().

File

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

Code

function _session_test_id_from_cookie() {
  return 'session_id:' . $_COOKIE[session_name()] . "\n";
}