Re: Sessions
| From: | Subhrajyoti Moitra | Date: | Mon, 10 Jul 2000 04:59:13 +0000 |
| Subject: | Re: Sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5677@lists.php.net to get a copy of this message | ||
is your cookies enabled?? if not pass the variable SID as an URL
parameter..
--------------------------------------------------------------------------------------
SECURITY IS A MYTH........!!!!!!!!
"Linux for people with avg. IQ above 98"
--------------------------------------------------------------------------------------
Subhrajyoti Moitra ------- C/212 Hall-I IIT-Kanpur India 208016
email: subhra@iitk.ac.in
On Sun, 9 Jul 2000, Ray Parish wrote:
> <?
>
> // File name: count_me.php
>
> // if a session does not yet exist for this user, start one
>
> session_start();
> session_register('count');
>
> $count++;
>
> echo "<p>You've been here $count times. Thanks!</p>";
> ?>
>
> I have this sample script that DOES NOT increament up each time I click
> refresh? It stays at 1?
> Thanks
> Ray
>
>
>
> --
> 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
>