|
Posted by J.O. Aho on 10/13/10 11:31
Mike wrote:
> I have some pretty simple code to create a cookie and I know its
> created because I echo it.
> But I look in my Cookies folder and theres nothing there.
> Shouldnt this work?
> <?php
> setcookie("Testing",'',2147483647);
> ?>
>
You should set the path and domain too, as there are broken browsers who won't
handle the cookie otherwise
<?PHP setcookie("Testing",'',2147483647,"/",$_SERVER['SERVER_NAME']); ?>
If this don't work the whole fault is in _YOUR_ browser.
//Aho
Navigation:
[Reply to this message]
|