Re: setcookie issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris Shiflett wrote:

John Hinton wrote:

Seems my old setcookie scripts are busted in php with globals off.


Use $_COOKIES['name'].

Chris

The thing is, on the next action switch

print_r($_COOKIE);

returns empty until I refresh the browser. So, thusly, the second page load brings in the cookies.

And sorry about that $_GET I left in the earlier post. I was trying about anything to see if I was missing something totally.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux