Cookie Not Setting..

From: Date: Wed, 11 Jul 2001 13:24:22 +0000
Subject: Cookie Not Setting..
Groups: php.general 
Request: Send a blank email to php-general+get-57368@lists.php.net to get a copy of this message
Ok, I've used cookies before and have never had a problem with them but for some reason this doesn't seem to be setting! Here is the start of the file called after logging in to my site. In another file I have echo $wwblCookie and have also tried echo $HTTP_COOKIE_VARS["wwblCookie"] but no luck. <? // include function files for this application require_once("wwbl_functions.php"); session_start(); if ($fuserID && $fpassword) // they have just tried logging in { if (login($fuserID, $fpassword)) { // if they are in the database register the user id $CookieString = $fuserID; SetCookie ("wwblCookie","PLEASE", time() + 86400 * 365);

« previous php.general (#57368) next »