OK, I'll admit I've been doing it wrong (using session_registe r()), so I'm
trying to correct my ways, but...
My script starts with
<?php
session_start() ;
?>
In the body of my page a link as follows:
<a href="targetUrl .php?<php print SID; ?>">Target text</a>
Problem: SID is an empty string. I even tried
echo "SID: " . SID . '<br />';
and SID echoes as an empty string. Why?
---Michael
trying to correct my ways, but...
My script starts with
<?php
session_start() ;
?>
In the body of my page a link as follows:
<a href="targetUrl .php?<php print SID; ?>">Target text</a>
Problem: SID is an empty string. I even tried
echo "SID: " . SID . '<br />';
and SID echoes as an empty string. Why?
---Michael
Comment