Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2008-06-18
4
Medium Priority
?
254 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 54

Accepted Solution

by:
b0lsc0tt earned 2000 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

715 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