Date: 08/31/01
- Next message: Jason Bell: "Re: [PHP] chmod failed: Operation not permitted"
- Previous message: Police Trainee: "[PHP] chmod failed: Operation not permitted"
- Next in thread: Richard Baskett: "Re: [PHP] HELP! Frustrating Cookie Problem...."
- Reply: Richard Baskett: "Re: [PHP] HELP! Frustrating Cookie Problem...."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jason Bell: "Re: [PHP] chmod failed: Operation not permitted"
- Previous message: Police Trainee: "[PHP] chmod failed: Operation not permitted"
- Next in thread: Richard Baskett: "Re: [PHP] HELP! Frustrating Cookie Problem...."
- Reply: Richard Baskett: "Re: [PHP] HELP! Frustrating Cookie Problem...."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

