Session Variables Output

Simple 2 lines for debugging within your PHP project

session_start();
foreach($_SESSION as $key=>$value)
{
print $key." = ".$val."
";
}

// alternate method
session_start();
 Print_r ($_SESSION);

,

No comments yet.

Leave a Reply