Posted by Garry Jones on 10/09/06 21:02
"Garry Jones" <garry.jones@morack.se> skrev i meddelandet
news:eged1e$s38$1@yggdrasil.glocalnet.net...
> This problem is persisting.
More code
form code
session_start();
$_SESSION['testvar'] = "sometext";
echo $_SESSION['testvar'];
At the top of the page that will process the form code I have this line.
session_start();
echo $_SESSION['testvar'];
The first "echo $_SESSION['testvar']" works
The second one does not so the session varible is reset to null. But WHY?
Garry Jones
Sweden
Navigation:
[Reply to this message]
|