Posted by iulian.ilea on 10/09/06 19:27
If you use PHP on Windows you have to define session.save_path in case
you use sessions stored as files. Check this:
http://ro2.php.net/manual/en/function.session-save-path.php
Let me know it this was the problem.
Garry Jones wrote:
> Elsewhere on a form page I am declaring a variable
>
> *******************************
> session_start();
> $_SESSION['testvar'] = "sometext";
>
> At the top of the page that will process the form code I have this line.
>
> session_start();
> $testppp=$_SESSION['testvar'];
>
> echo $testppp;
>
> *******************************
>
> But nothing is echoed. What am I missing?
>
>
> Garry Jones
> Sweden
Navigation:
[Reply to this message]
|