Jump to content

cookie problems


project3

Recommended Posts

I cant get a cookie value im trying to get.

 

 

using print_r($_COOKIE); I get.

 

Array ( [locale] => en-US [__utmz] => 30678826.1201806495.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none) [__utma] => 30678826.950578689.1201806495.1205983904.1206030950.8 [phpSESSID] => 228de3030ea880905ce928a5fdd3ca3d [psaContext] => domains [barExpanded] => True [phpMyAdmin] => 228de3030ea880905ce928a5fdd3ca3d [digiSHOPID] => 71b08c10fd0eedda9e12dcb84b0401c4 [__utmc] => 30678826 [customerID] => 86f19b2a99b3843d8bc293d3e22dde08 [__utmb] => 30678826 )

 

but using

 

$cID = $_COOKIE['customerID'];

 

Im not getting the customerID value.

 

What am I doing wrong. Thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/97102-cookie-problems/
Share on other sites

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.