Click to See Complete Forum and Search --> : How To Retrieve Cookies From 3rd Party Sites Through iFrames


Rudolfvda
07-15-2008, 02:33 PM
Hello all!

I hope you are having a jolly day!

Now, I'm creating a webpage in which I have iFrames, in which I'd like to display different websites which I do not own. However, I would still like the cookies of those sites to be installed on the user who visits my page. I'm aware that this is automatically blocked by browsers. I've done extensive research on the web, and have discovered that I need to install p3p on my server, along with corresponding tags and the p3p.xml policy file.

However!

Since I'm a designer, and a poor programmer, I was wondering if someone could assist me setting this up. Although I've got some knowledge about HTML, I don't know anything about xml, or other coding languages that are associated with p3p.

First off, I've already contacted my webmaster on how to activate p3p on my server, who should probably guide me on how to 'allow it to run' on my server.

Secondly, I've found several snippets of codes and p3p.xml templates, however, I have no idea what it needs to contain, or where I need to put it. I do know that the p3p.xml goes into a folder mysite.com/w3c/p3p.xml. Plus, some sort of snippet needs to be installed in the <head> section of the index.html of my main site.

Could someone assist me and explain which code snippet I need to use for the headers, and what needs to be displayed in the p3p.xml file? I have no intentions in creating a policy or anything like that, I just want to set it up so that cookies will be installed from sites through the iFrames on my website on the users' computer, at all possible levels.

Perhaps I ask a lot, but whoever helps me will be rewarded with not only my deepest gratefulness, but in return, I will also be pleased to help you with any graphical issues you may have, think Photoshop, etc.

Many thanks for reading through my question, and thanks in advance for any replies!

Kindest regards,

Rudolf