never, never, never put information in a cookie that you don't want your users to be able to modify. i have seen sites where a cookie is used to store a users user id number.... anyone can change the id in their cookie and take over another person's account! so do not store valuable data like prices in cookies.
everything you do store in a cookie should also have a check against it. i do it like so:
$secret_passwd = "open source 4 life";
$cookie_data = "flour and sugar";
$check_hash = md5($cookie_data . $secret_passwd);
setcookie("name", "$cookie_data::$check_hash", time()+1000);
now the data in the cookie looks like this:
"open source 4 life::tt45rc7rkx23d435$sd33rfkw89sred"
when you retreive the data later, you can check to see if it has been tampered with by re-hashing the stuff before the :: and seeing if it matches the stuff after the ::
list($message, $hash) = explode($cookie, "::");
if(md5($message . $secret_passwd) != $hash)
echo "don't mess with your cookies";
simple.