|
Posted by Andy Hassall on 10/29/36 11:31
On Tue, 08 Nov 2005 01:51:47 GMT, "Mike" <ampeloso@verizon.net> wrote:
>Heres a perfect example;
><?php
>$value = 'something from somewhere';
>setcookie("TestCookie", $value, time()+3600); /* expire in 1 hour */
>?>
>Can be found at:(My Domain)
>http://www.ampsoft.com/B.php
>
>I leave the browser open and check my Cookies folder and ...Nothing .
That works for me, both on Firefox 1.5RC1 and Internet Explorer 6.
A cookie is set and stored; contents of the file from IE is:
TestCookie
something+from+somewhere
www.ampsoft.com/
1024
3124430464
29746191
1793278832
29746183
*
Add the following:
print "<pre>";
var_dump($_COOKIE);
print "</pre>";
Then you will be able to see what cookies the browser has accepted and sent
back.
If you're not getting anything, then you have a browser configuration problem.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|