function devel_session

Page callback: Displays the session.

1 string reference to 'devel_session'
devel_menu in ./devel.module
Implements hook_menu().

File

./devel.pages.inc, line 358

Code

function devel_session() {
    global $user;
    $output = kprint_r($_SESSION, TRUE);
    $headers = array(
        t('Session name'),
        t('Session ID'),
    );
    $output .= theme('table', array(
        'headers' => $headers,
        'rows' => array(
            array(
                session_name(),
                session_id(),
            ),
        ),
    ));
    return $output;
}