This question already has an answer here:
- PHP - setcookie(); not working 4 answers
This is my php cookie code,
setcookie("city_id", $cityData[0]['city_id'], 2147483647, "/", "localhost");
setcookie("cityname", $cityData[0]['cityname'], 2147483647, "/", "localhost");
echo $_COOKIE['city_id'];
echo $_COOKIE['cityname'];
Above code is working fine on FF, but not working in Chrome.... Any suggestions....
</div>