Solved

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

Posted on 2008-06-18
4
246 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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
Several part series to implement Internet Explorer 11 Enterprise Mode
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

743 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

12 Experts available now in Live!

Get 1:1 Help Now