Solved

How can I make a browse accept cookies from a site?

Posted on 2008-06-18
4
247 Views
Last Modified: 2013-12-08
Hello. I have a Javascript Cookie Image rotator hosted on this page:

http://www.magicbroadcasting.net/sexandthecity.htm

And I am using an iframe to embed it on this site:

http://www.island106.com/PhotoWall.asp?id=41468

The problem that I am having is that when people are looking at the pictures on Island106.com, the rotator is not working because it is not reading the cookie from Island106.com, it is blocking the cookie from magicbroadcasting.net, I am assuming because it thinks it's a 3rd party cookie.

The rotator will work on Island106.com if you change your preferences to accept cookies from magicbroadcasting.net.

One idea to make it work is to make a tutorial on how to do this. But I was hoping that there is a way that I can make it accept cookies from magicbroadcasting.net

One idea I have is, is there a way to add a link to another magicbroadcasting.net page and have them click a link (run a script?) that will automatically "always allow cookies from magicbroadcasting.net"

Or...do you know an easier way to achieve this?
0
Comment
Question by:SYancey1
  • 2
4 Comments
 
LVL 54

Accepted Solution

by:
b0lsc0tt earned 500 total points
ID: 21818115
SYancey1,

There is no way to make some one accept cookies.  It is completely in the user's control.  Your best bet is the tutorial to show how to do it if accidentally disabled or blocked and some incentive to allow them.  For example if that is an important part of a page or your site then people will make sure they work so they can use that part.

Let me know if you have any questions or need more information.

b0lsc0tt
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 21818131
SYancey1,

By the way ... it is pretty common for users and settings to block 3rd party cookies.  Move the script or process to your server if possible or try to provide a reason they want to allow them.  Many people choose to block them though since they aren't a main part of your site and usually part of ads or tracking.

Just a thought. :)

b0lsc0tt
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This article discusses how to create an extensible mechanism for linked drop downs.
Viewers will learn the different options available in the Backstage view in Excel 2013.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

911 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now