[A] Linux: sessions not working
I am trying to get sessions working on Linux, Apache 1.3.26 and PHP 4.1.2 (Debian testing).
<?php
session_start();
session_register('hits');
++$hits;
echo $hits;
?>
simply produces the number 1 after reloading the page several times.
The session_id() function registers a valid session code (I can find the session file in my /tmp directory).
Any help hugely appreciated.
Thanks
Rory
Last edited by dotwebbie; 09-23-2002 at 01:52 PM.
|