opps. Found one error in my cookie code.. Sessions are the answer!

From: Date: Mon, 07 Feb 2000 07:02:20 +0000
Subject: opps. Found one error in my cookie code.. Sessions are the answer!
Groups: php.version4 
Request: Send a blank email to php-version4+get-9898@lists.php.net to get a copy of this message
// It clears out the cookie set earlier. setcookie("affid","",time()+14400,"/",".chalmers.com.au",0); ^^^^^^^^^^^^^^^^^ I had $affid, instead of plain 'affid' Time for a glass of red... Think I'll just go with sessions.... looks a whole lot easiere. bob $affid = $HTTP_COOKIE_VARS["affid"]; echo "Cookie value now reset: $affid\n"; ?> ~ ~ ~ ~ ~ http://www.chalmers.com.au Clipart And Books Art, Design and Graphics.

« previous php.version4 (#9898) next »