FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » What's in this cookie?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
What's in this cookie? [message #169778] Sun, 26 September 2010 16:44
MikeB is currently offline  MikeB
Messages: 65
Registered: September 2010
Karma:
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.
[Message index]
 
Read Message
Previous Topic: APC + Multi-Site Install of Single Application
Next Topic: who is changing dots into underscores in my variable names in REST?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 12:49:38 GMT 2024

Total time taken to generate the page: 0.04004 seconds