Does $_SESSION work in any release?
| From: | Patrick Aland | Date: | Sat, 13 Apr 2002 17:22:16 +0000 |
| Subject: | Does $_SESSION work in any release? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-92883@lists.php.net to get a copy of this message | ||
Running Apache,linux,php4.1.2 and I can't get $_SESSION to work, creates
the temp file but doesn't actually put anything in it. There appears to
be a bug report saying it is broke but does anyone know what version (if
any) $_SESSION actually works in? I'm trying 4.1.1 also and its doing the
same thing.
I am running the the code from the manual's session page:
session_start();
if (!isset($_SESSION['count'])) {
$_SESSION['count'] = 0;
} else {
$_SESSION['count']++;
}
print("SESSION : ".$_SESSION['count']);
and only get 0.
Thanks.
patrick