I tried your code on my testing computer (PHP 5.2.14) and everything works
fine. $_SESSION['views'] is counting up correctly. Maybe a problem with your
Dear List -
Thank you for your help in the past. This an update on my session
Here is a simple test program. It never increments the session counter;
ie, does not detect that $_SESSION has been set.
<?php session_start(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
echo "Views=". $_SESSION['views'];
I have no idea what is wrong.
I need to make my session variables work so that I can finish a project.
Help and advice, please.
MySQL 5.1 PHP 5.3.3-6 Linux [Debian (sid)]
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php