function _session_test_id_from_cookie

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.