[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Make third-party cookie become first-party cookie

Posted on 2014-08-22
Medium Priority
Last Modified: 2014-09-25
We have a Drupal website embedded to other websites.
For example, the websites can embed our website in their website as following:
<iframe src="drupal_site_url"></iframe>

In this situation, Drupal site cookie becomes third-party cookie.

Now more people block third-party cookie, so our Drupal site can not function inside
the other websites this way.

We have a control for the websites which embed our Drupal site.
For example, we can modify the way like JavaScript, iframe.... to embed the Drupal site.
Is there a method to make our Drupal site cookie become first-party cookie?
Question by:drupal_100
1 Comment
LVL 111

Accepted Solution

Ray Paseur earned 2000 total points
ID: 40279866
I don't think so.  A better design would be to have your "drupal_site_url" turned into a "drupal_site_api" so that you can produce a consistent and versioned API response to the request.  Then web sites that want your content can access the API via cURL or similar and get the information in a way that doesn't trigger security alerts.  You might want to consider publishing via JSON.

Information on APIs:

Information on HTTP client/server protocols:

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question