Jump to content

Cookie Problem (dont slap me...)


matfish

Recommended Posts

what you will need to do is set the cookie array like below

$value="Cookie text";
$_COOKIE['cookie'] = $value;

set the cookie as normal using setcookie also and therefor it will work on the first page as u set $_COOKIE['cookie'] variable and also after as it will have been refreshed and cookie will be set now.

This is not a problem with PHP it is a limitation of cookies.

Regards
Liam

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.