sessions with php4.0.0
| From: | Joey++ | Date: | Wed, 24 May 2000 08:15:32 +0000 |
| Subject: | sessions with php4.0.0 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19360@lists.php.net to get a copy of this message | ||
I am trying to use sessions with php4.0.0 and getting no joy.. an e.g..
<p>Before</p>
<?
session_start();
session_register("mycount");
$mycount++;
echo("You have visited $mycount times");
session_close();
?>
<p>After</p>
The example above, with or without the session_close(); function does not
return anything more than <p>before</p> in the viewed source of the executed
page. I have tried playing with php.ini and the only thing that effects it
is the session.auto_start booleon, which, when turned on doesn't display a
page, but the session variable is created in my designated temp file.
The question is, does php4 support sessions on NT and how. Is their an
example of a php.ini file showing how to do this?
Many thanks in advance for any input you or your team could supply.