Why not use sessions instead?
us2.php.net/session
On Wed, 2 Mar 2005 11:42:02 -0800 (PST), Richard Lynch <[EMAIL PROTECTED]>
wrote:
> Tom Whitbread wrote:
> > I am using a cookie to detect what skin a user wants to display. The
> > problem is if a user visits the site for the first time the coo
Tom Whitbread wrote:
> I am using a cookie to detect what skin a user wants to display. The
> problem is if a user visits the site for the first time the cookie is
> not being set. I am detecting if its being set or not with
>
> if(!isset($_COOKIE['skin'])){ ... }
>
> It's not setting the cookie un
The manual detail this issue:
http://ca.php.net/setcookie
You can't see the cookie until you hit the next page. There is no way
view the newly set cookie.
Dan Tappin
On Mar 2, 2005, at 2:18 AM, Tom Whitbread wrote:
I am using a cookie to detect what skin a user wants to display. The
problem is
When the user first visits your site, there is no skin in your cookie. Then
you can give a default value. And after the user modifies his/her profile,
you can set it to the cookie. So I don't think it is a problem of setting
cookie.
Best regards,
Yang Shiqi
-Original Message-
From
4 matches
Mail list logo