Quantcast
Channel: Cookie set with setcookie, but not found with $_COOKIE - Stack Overflow
Browsing index pages (3 articles)
↧

Cookie set with setcookie, but not found with $_COOKIE

I have tried to set a cookie on this page, like this:<?phpsetcookie("fasciaoffer", $name, time()+36000);?>I have verified that the cookie is set.I then want to retrieve the cookie when my...

View Article


Answer by Lightness Races in Orbit for Cookie set with setcookie, but not...

bool setcookie ( string $name [, string $value [, int $expire = 0 [, string $path [, string $domain [, bool $secure = false [, bool $httponly = false ]]]]]] )[..]pathThe path on the server in which the...

View Article


Answer by Jitendra Pathak for Cookie set with setcookie, but not found with...

I've always had an interesting time when working with cookies. But here are my thoughts :1) Are you sure $name is passing a value? To check this, echo out $name after you place your cookie. I usually...

View Article
Browsing index pages (3 articles)


Latest Images