HELP! Frustrating Cookie Problem....
| From: | Jack Sasportas | Date: | Fri, 31 Aug 2001 18:44:45 +0000 |
| Subject: | HELP! Frustrating Cookie Problem.... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-65535@lists.php.net to get a copy of this message | ||
OK I have been using the *same* cookie function to place cookies on the
surfers pc and it works for a few hundred people just fine. Now I have
a few people that it just won't work for.
After extensive testing the only thing I can see is that it is not
writing the cookies, we do see it writing the c_user_email cookie, but
not others, we even added code to erase the cookie first, and still no
luck.
Any ideas would be appreciated...
function
f_put_cookie($user_name,$user_email,$account_type,$company_name) {
global $HTTP_COOKIE_VARS;
global $s_c_url;
$l_url = ".".$s_c_url;
setcookie("c_user_email",$user_email,(time()+400*30*12),'/',$l_url,0);
setcookie("c_user_name",$user_name,(time()+400),'/',$l_url,0);
setcookie("c_account_type",$account_type,(time()+400),'/',$l_url,0);
setcookie("c_company_name",$company_name,(time()+400),'/',$l_url,0);
setcookie("c_uas_time",
"GREEN",(time()+400),'/',$l_url,0);
}
___________________________________________________________
Jack Sasportas
Innovative Internet Solutions
Phone 305.665.2500
Fax 305.665.2551
www.innovativeinternet.com
www.web56.net