Hi Ken,
Here's you answer :
Common Pitfalls:
a.. Cookies will not become visible until the next loading of a page that
the cookie should be visible for.
b.. Cookies must be deleted with the same parameters as they were set
with.
Check out :
http://www.php.net/manual/en/function.setcookie.php
Regards,
Kevin Smith
----- Original Message -----
From: "Ken Sommers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Brad Lipovsky" <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 8:05 AM
Subject: Re: [PHP-DB] cookie problems
> What didn;t work,,,what happened?
>
> Ken
> ----- Original Message -----
> From: "Brad Lipovsky" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 10, 2001 11:24 PM
> Subject: [PHP-DB] cookie problems
>
>
> > can anyone help me with this code? i cant believe it wont work, it
seems
> > pretty simple!
> >
> > <?php
> > setcookie ("logged_in", "logged in", time() - 3600);
> > setcookie ("logged_user_name", "logged user name", time() - 3600);
> >
> > print "$logged_in <br>";
> > print "$logged_user_name";
> > ?>
> >
> > brad
> >
> >
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php