session prob
| From: | Geoff O'Callaghan | Date: | Sun, 04 May 2003 22:02:12 +0000 |
| Subject: | session prob | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-146382@lists.php.net to get a copy of this message | ||
Ok, i'm guessing that this is a user error, but since i've been stuck
in 4.0.6 for a while and haven't followed the developments leading up to
4.2+ i'm sure i've missed something so be gentle :-)
The scenario. I have 4.2.2 or 4.2.3 or 4.3.1 and this script doesn't
work with either register_globals off or on
<?php
session_start();
session_register('count');
$count++;
print "You have been to this web page $count times<p>";
?>
The session files /tm[/sess_ etc get created and the sesssion is
definitely exchanged with the browser.
This is Debian/Linux 3.0, 2.4.19, php vers as above.
Cheers
Geoff