开发者

Unexplained Cookies: style name location appearing for no reason

开发者 https://www.devze.com 2023-01-07 18:40 出处:网络
I have been noticing when debugging that I\'m seeing 3 additional Cookies on my testing Windows XP PC that I don\'t see in Safari on the same PC or on my Mac or indeed other PCs. I created a simple PH

I have been noticing when debugging that I'm seeing 3 additional Cookies on my testing Windows XP PC that I don't see in Safari on the same PC or on my Mac or indeed other PCs. I created a simple PHP page with only:

<?php phpinfo(); ?>
Development Only: Your current $_COOKIE contents are: <pre><?php print_r($_COOKIE); ?></pre>

When I view that on my test server I see the PHP info as normal then at the bottom I also get:

Development Only: Your current $_COOKIE contents are: Array ( [style] => default [name] => Steve Kemp [location] => Bondi, NSW )

I can't see where these cookies are com开发者_如何学Going from as they only appear on one PC using Internet Explorer 8 at the moment. IE8 on other PCs doesn't show them. Does anyone know where the style, name and location cookies are being set and why only visible on one PC?

Many thanks, Steve


Have you set cookies for localhost sometime in the past?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号