note 779 deleted from setcookie by ronabop

From: Date: Sat, 09 Sep 2000 02:52:27 +0000
Subject: note 779 deleted from setcookie by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-4584@lists.php.net to get a copy of this message
Just an observation that maybe everyone already knows, but I find it quite annoying. It seems that if I store a cooke for $test_id=5 for example, and call the page from somewhere else passing in a new value, such as: <a href="mypage.phtml?test_id=100"></a> then when mypage.phtml loads and I "echo $test_id", it will give me "5" not 100. I don't know if this is a "cookie spec" thing or a PHP thing, but it seems to me I should get 100. that is, if I specifically sent in a value to that page, then I clearly wish to use that value instead of the cookie's value...

« previous php.notes (#4584) next »