RE: [PHP-WIN] Session prob
| From: | Disko_kex | Date: | Sun, 05 Oct 2003 17:16:03 +0000 |
| Subject: | RE: [PHP-WIN] Session prob | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21680@lists.php.net to get a copy of this message | ||
Still not working?
-----Original Message-----
From: Mike Brum [mailto:php@crazyted.com]
Sent: den 5 oktober 2003 19:12
To: 'Disko_kex'; php-windows@lists.php.net
Subject: RE: [PHP-WIN] Session prob
You need to start the session.
sesstion_start();
Read up - http://us3.php.net/manual/en/function.session-start.php
-----Original Message-----
From: Disko_kex [mailto:disko_kex@swedish-mushroom.com]
Sent: Sunday, October 05, 2003 12:24 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Session prob
<?php
if (! isset($_SESSION['count'])) {
$_SESSION['count'] = 1;
}
else {
$_SESSION['count']++;
}
print $_SESSION['count'];
?>
Why isn´t this working? Is there something I done wrong during the
installation or what?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php