Forum Moderators: phranque
I have a web site. I set cookie using php (For 1 month) when ever my user logs in. I check for the cookie when ever user visits another member only page. In short, in each and every page I check for cookie. If there is no cookie, user will be directed to login page.
Problem is: about 8% of my visitors, mostly AOL users, are complaining that they couldn't login and getting redirected to login page.
Even after I trained users (that had problem) to enable cookies or reduce security level, they still had problem. And, I kept loosing members.....
Any help?
Thanks
Recent IE versions have started dropping some cookies sent without a P3P privacy policy in place. I think the embedded browser in AOL these days is IE 5.5 or IE 6.
Anyhow, putting a P3P privacy header in place solved all cookie issues for my site, both IE and AOL. Try googling around for P3P. Constructing the header isn't exactly straightforward, I'd suggest finding some software to build it for you. I used the P3P software from IBM, but there are probably more choices.
Once you've got the header, outputting it in php is as simple as adding a
header('P3P: your p3p header values...'); line where you're already sending the cookie.
I spent a decent amount of time agonizing over the wording on the descriptive sections of my XML policy file, but it has never been downloaded. Oh well. :)
MSN/Hotmail email link redirects and frames
[webmasterworld.com ]