function devel_session
Same name in other branches
- 6.x-1.x devel.module \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;
}