Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-06-18
4
Medium Priority
?
258 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 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

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…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
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 …
Suggested Courses

963 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