|
-
Mar 11th, 2003, 11:47 AM
#1
Thread Starter
Frenzied Member
cookies and iframes and php, oh my
here is a good one. I have a page called say something.html
in this page is a iframe calling a php script from a different site.
like so
http://www.differentsite.com/php/sho...p&bg=%23FFFFFF
and in that shop2.php is a setcookie() function
PHP Code:
$cookietimeout = time()+(3600*24*365);
if($_GET["partner"]){
$value = $_GET["partner"];
setcookie("REFERRALCOOKIE",$value,$cookietimeout);
now here is the question. the cookie works for all browsers except IE. can anybody tell me why it doesn't work for IE. I have IE 6 too.
the cookie just doesn't get set.
-
Mar 12th, 2003, 09:32 PM
#2
Thread Starter
Frenzied Member
well since this forum seems to be dead now, I mena nobody helps anybody anymore...
anyway if anybody desides to look into this I found the answer. you need to impliment the p3p privacy protection
www.w3.org/P3P/
-
Mar 13th, 2003, 06:07 AM
#3
Frenzied Member
I looked, I just didn't know the answer Sorry!
-
Mar 13th, 2003, 09:10 AM
#4
Thread Starter
Frenzied Member
thanks Rick, at least you tried. 
I forgot to add that IE was not accepting third part cookies since the cooky was coming from a different domain. so adding the p3p it was allowed to accept them when IE's settings were in medium zone.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|