Hi all. I'm having problems using sessions. I've been able to narrow it down to a configuration problem, but I have no idea what to look for in php.ini or whatever.
Anyway, let me explain a bit more. For some odd reason php on my local machine will not pass any variables when you either reload the page or when you try and pass the $PHPSESSID to another page. For example, I've used a test script that is supposed to work like a counter. <?PHP session_start(); session_register('count'); $count++; print("<P>You have been here $count times.</P>"); ?> Okay, so when you reload this script it's supposed to increase $count by one. But it doesn't. No matter how many times I reload it stays at 1. I'm using GNU Debian Linux Unstable (PPC platform) with Apache 1.3.26-1, PHP 4.2.1. I don't know how much this has to do with this, but I do have track-vars enabled. Thanks for any light you can shed on this. -Mannequin. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php