Solved

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

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Several part series to implement Internet Explorer 11 Enterprise Mode
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
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 …

828 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