RE: [PHP] Session problem
| From: | Chad Day | Date: | Wed, 08 Aug 2001 18:18:53 +0000 |
| Subject: | RE: [PHP] Session problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-61882@lists.php.net to get a copy of this message | ||
No, as the way I'm getting around this right now is I'm -using- cookies.
Plus, I gave the URL, so you guys could see what is happening .. it's not a
client-side issue.
Sorry if I sound frustrated, but I really am at this point. :)
The URL again is: http://www.militarycity.com/classified/realtors/count.php
Chad
-----Original Message-----
From: Bjorn Van Simaeys [mailto:cyberplasma@yahoo.com]
Sent: Wednesday, August 08, 2001 1:09 PM
To: php-general@lists.php.net
Subject: RE: [PHP] Session problem
Maybe you have your cookies turned off in your
browser? Something that is easily forgotten..
Greetz,
Bjorn Van Simaeys
www.bvsenterprises.com
--- Chad Day <cday@atpco.com> wrote:
> Nope. Same problem. I'm seriously thinking there's
> a bug in the version of
> PHP I am running at this point, but I searched
> php.net and found no mention
> of anything ..
>
> Chad
>
> -----Original Message-----
> From: Brian Dunworth
> [mailto:brian@theprintinghouse.com]
> Sent: Wednesday, August 08, 2001 10:37 AM
> To: php-general@lists.php.net
> Cc: 'Chad Day'
> Subject: RE: [PHP] Session problem
>
>
>
> On Wednesday, August 08, 2001 at 9:16 AM, Chad Day
> said:
> > I wish it did.
> >
> > Still the same problem.
> >
> > <?php
> > session_start();
> > global $count;
> > session_register ("count");
> > $count++;
> > ?>
> >
> > Hello visitor, you have seen this page <?php echo
> > $HTTP_SESSION_VARS["count"]; ?> times.<p>
>
>
> You're asking the session to remember a value (
> session_register() ), then
> changing that value ( $count++ ) and not
> re-registering it, then complaining
> when the session returns the value you asked it to
> remember.
>
> What if you did:
>
> <?php
> session_start();
> $count++;
> session_register ("count");
> ?>
>
>
> - Brian
>
> -----------------------------------
> Brian S. Dunworth
> Sr. Software Development Engineer
> Oracle Database Administrator
> The Printing House, Ltd.
> (850) 875-1500 x225
> -----------------------------------
>
>
>
> --
> 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
>
>
>
> --
> 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
>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
--
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