Home »
Imported messages »
comp.lang.php »
What's in this cookie?
What's in this cookie? [message #169778] |
Sun, 26 September 2010 16:44 |
MikeB
Messages: 65 Registered: September 2010
Karma: 0
|
Member |
|
|
I'm getting to the part about cookies and setting/getting them and for
grins I wrote this code, expecting to get a null, since this is on
localhost that I created, wrote all the code aand I've never set any
cookies:
<?php
echo "<br /> <pre>";
print_r($_COOKIE);
echo "</pre></br />";
?>
Imagine my surprise when I got this back:
Array
(
[s_pers] => s_nr=1283648608633|1286240608633;
[mbcc] => 1882B7AD-6552-550F-04A2-EE6FBC03091E
)
Anyone knows why I would have two cookies set in the $_COOKIE array if
I've never played with cookies on this site before?
When I looked in Firefox's list of cookies, sure enough, these two were
there. Color me puzzled.
|
|
|
Goto Forum:
Current Time: Sat Nov 30 12:28:47 GMT 2024
Total time taken to generate the page: 0.01572 seconds