Hey everyone, a bunch of our users on AOL are having problems logging into our system because of the cookie need. Our code is quite simple:
// length of cookie
$cookietime=1800;
// drift from server to EST (it's in TX)
$drift=3600;
setcookie("uid",$uid,time()+$drift+$cookietime,"","",1);
Several of them are getting the "not accepting cookies" error, and I can't simply keep telling them to upgrade their damn AOL accounts to the latest version. Do you know of any suggestions on fixing this problem? First I might take out the "1" so that the cookie doesn't only work over SSL, since perhaps AOL doesn't like that. Second, I want to know if it's possible to get THEIR time() and set a cookie accordingly, since perhaps a bunch of their clocks are off.
Suggestions?
Thanks,
Mike