[pmwiki-users] $_SESSION[] in ?action=diag

Joachim Durchholz jo at durchholz.org
Fri Jul 8 17:21:14 CDT 2005


Hi all,

I'd find it helpful if ?action=diag would include $_SESSION[] in its output.

I suggest inserting a call to session_start() in scripts/diag.php, so 
that the code reads like this:

if ($action=='diag') {
   session_start();
   header('Content-type: text/plain');
   print_r($GLOBALS);
   exit();
}

Regards,
Jo



More information about the pmwiki-users mailing list