RE: [PHP] Sessions
| From: | Tyler Longren | Date: | Thu, 02 Nov 2000 16:20:52 +0000 |
| Subject: | RE: [PHP] Sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23308@lists.php.net to get a copy of this message | ||
How I understand it, $Counter will reset the next time the user opens a
browser. I think you can store $Counter in a cookie too.
Tyler
-----Original Message-----
From: Jan van Schaijk [mailto:janvanschaijk@planet.nl]
Sent: Tuesday, October 31, 2000 6:14 PM
To: Php-list
Subject: [PHP] Sessions
Hi,
Can I use a session in stead of Cookies?
So, If I do this:
session_start("Hello");
session_register("Counter");
$Counter++;
What happend then if the user close his browser and the next day he
looks
again?
Will the $Counter reset? Or can I use it with it's value (stored in a
Cookie?)? Or do I have to test if $counter contains a value?
Jan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net