War Room

Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Featured Warrior Special Offer...
"Members Of The *War Room* Discover Secrets To Immediate Success!"
Reply
 
LinkBack Thread Tools
Old 04-07-2009, 03:50 PM   #1
YourAdHere
War Room Member
 
Join Date: Oct 2007
Location: Dalaran
Posts: 39
Thanks: 7
Thanked 1 Time in 1 Post
Contact Info
Send a message via Yahoo to oneano Send a message via Skype™ to oneano
Default Iframes and Cookies

do Iframes affect cookies?


I am an affiliate, but I want better tracking of my sales page, so I want to load the page into an Iframe.

But what happens to the cookies? The site has a 15 day cookie and I dont want to tamper with.

Does anything have any actual incite?
oneano is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-08-2009, 12:14 AM   #2
Advanced Warrior
War Room Member
 
mywebwork's Avatar
 
Join Date: Sep 2008
Location: Honolulu, Hawaii, USA (Currently in Montreal Canada)
Posts: 813
Blog Entries: 1
Thanks: 138
Thanked 217 Times in 146 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to mywebwork
Default Re: Iframes and Cookies

The short answer is "yes, iframes affect cookies". You may run into issues when using an iframe in the way you specified as you're mixing different domains on the same page. Different browsers will treat this situation in their own unique manner, Internet Explorer will probably refuse to use the cookie with its default security setting.

There is a method of "fixing" IE with a "compact privacy policy", details are here:
How to set third-party cookies with iframe | 3rd party cookies | p3p header | html | asp | jsp | php

Personally I'd avoid doing this as it may impact your affiliate commissions.


Bill
mywebwork is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-08-2009, 01:09 AM   #3
Active Warrior
 
Azlan's Avatar
 
Join Date: Sep 2008
Posts: 62
Thanks: 3
Thanked 2 Times in 2 Posts
Contact Info
Send a message via Yahoo to Azlan
Default Re: Iframes and Cookies

Quote:
Originally Posted by mywebwork View Post
The short answer is "yes, iframes affect cookies". You may run into issues when using an iframe in the way you specified as you're mixing different domains on the same page. Different browsers will treat this situation in their own unique manner, Internet Explorer will probably refuse to use the cookie with its default security setting.

There is a method of "fixing" IE with a "compact privacy policy", details are here:
How to set third-party cookies with iframe | 3rd party cookies | p3p header | html | asp | jsp | php

Personally I'd avoid doing this as it may impact your affiliate commissions.


Bill
hi bill,

did not know about this before... will have to check my website.

thanks for the advice.
Azlan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-22-2009, 06:33 PM   #4
Active Warrior
 
Join Date: Dec 2008
Posts: 54
Thanks: 2
Thanked 3 Times in 2 Posts
Default Re: Iframes and Cookies

Regarding 3rd party cookies: Although I have implemented How to set third-party cookies with iframe | 3rd party cookies | p3p header | html | asp | jsp | php - viralpatel.net in the source-code of the site = domain that calls the iFrame = second domain, IE wont let the cookies through.

The domain is something like abc.com and it iFrames the new domain xyz.com which uses the cookies. I see it clearly because in IE you cant submit a form to the checkout page, but you get back to the original form-page, because the cookies dont work. The same works in Firefox.

The code of the site abc.com looks like this:

<html><head>
<title>ABC.com for XYZ</title>
<meta name="keyword" content="abc, xyz">
<meta name="description" content="abc xyz"></head>

<?php header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"'); ?>

<frameset rows="1, *" border="0">
<frame noresize="noresize" src="about:blank" />
<?php
$_SERVER['FULL_URL'] = 'http://xyz.com';
if($_SERVER['QUERY_STRING'] > ' ')
{ $_SERVER['FULL_URL'] .= '?'.$_SERVER['QUERY_STRING']; }
print "<frame noresize=\"noresize\" src=\"" . $_SERVER['FULL_URL'] . "\" />";
?>
<frame src="about:blank"></frameset><noframes></noframes>
<body>
</body>
</html>

How could IE accept the cookies?
Narayan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Tags
cookies, iframes

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 11:13 PM.