We recently set up a registration system on our site. Prompt for this only works when the user tries to access a story older than 1 day. Amazingly in the first week we had 3800 end-users register. We didn't think the archives were that active. Anyway, we've only had a handful of complaints. Mostly due to Cookie issues.
I was wondering if there is a list of OS/browser configurations that will crap out on the setcookie function for PHP?
This is my snippet.
function cookiemaker($email){
$setdate= mktime(0,0,0,12,32,date('Y')+3);
$host=getenv('HTTP_HOST');
setcookie ("uid",$email,$setdate, "/", $host);
}
This snippet is working on two sites using the registration and the cookie errors are coming only from one of the sites. The site with the error is setting 2 cookies. I'm not sure where the 2nd cookie is coming from.
Site 1 Cookie(s):
uid
ronp%40cnpapers.com
dailymail.com/
1536
3203958784
29683646
343778560
29446390
he
llo
dailymail.com/
1600
1056312064
29446591
347178560
29446390
Site 2 Cookie:
uid
ronp%40cnpapers.com
wvgazette.com/
1536
3203958784
29683646
930318560
29446390
*
Because the only difference is the 2 cookies for site 1 and 1 cookie for site 2 (which hasn't reported any cookie errors). I'm confused.
Ron Phillips