473,808 Members | 2,832 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

cookie problem with frameset involving 2 domains

25 New Member
Hi,
I have a site whose every page uses JavaScript to redirect visitors to a site use agreement page until they've accepted the agreement. When they click OK, a cookie is saved and the pages stop redirecting.

It worked fine until the site was displayed from within a wrapper page sitting on a different domain.

Here's the set-up:
  • The page the user opens is a frameset on Domain A ( www.blah.net/wrapper.html).
  • The top frame points to a page on Domain A that has a banner.
  • Bottom frame is most of the page and points to my site on Domain B (www.blah.com/mysite.shtml).
  • The wrapper page on Domain A is just a frameset. It has no programming that might interact with Domain B's cookies.
  • The cookie currently has no domain info, and is recognized fine when you go directly to the site on Domain B.
  • Despite the difference in their TLD endings, Domain A and Domain B point to the same server.

Can anyone explain why this situation would interfere with the cookie? Is the cookie being passed back and forth between domains and being blocked for security reasons?

Is there a simple way to fix it?

Thanks.
Sep 3 '10 #1
0 1121

Sign in to post your reply or Sign up for a free account.

Similar topics

4
2174
by: deko | last post by:
How to set cookie with php? Could someone sanity check this for me? Still new to php... ***This is correct: <?php setcookie("mycookie",time(),3600,"/"); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
5
2354
by: Rafael T. Ugolini | last post by:
Im trying to add more than one cookie with urllib2 but im not getting much sucess. An example... >>> req = urllib2.Request('http://localhost','j_username=psyca&j_password=******',{...
6
4023
by: Wladimir Borsov | last post by:
I would like to load multiple web pages from Internet into ONE single browser window - one below the other. How do I do that most easily ? One idea is to built a frameset (for e.g 6 web pages) like: <FRAMESET ROWS="*,*,*,*,*,100%" BORDER=0 FRAMEBORDER=0> <FRAME SRC="http://www.firstdomain.com/index.html" NAME="first" MARGINWIDTH=1 SCROLLING=NO TITLE=1> <FRAME SRC="http://www.secdomain.com/welcome.html" NAME="second" MARGINWIDTH=1...
2
1665
by: Henrik alstersjö | last post by:
Hi everyone I have a problem with a frameset with 3 frames. In the "main"frame i have a page with a numer of textboxes and dropdownlists and all of them are set to autopostack = true If i change the text in a textbox and then emediatly opens a dropdownlist the frame goes totally white and i have to reload the frameset to get it to work again. Anyone who has heard abut this Best Regards Alsterjso
3
11130
by: Wysiwyg | last post by:
After a server created cookie is processed on the client I want it removed, cleared, or expired in the javascript block but have been unable to do this. If I set a cookie value in the server code behind and don't use a domain then I can not change or remove that cookie's value on the client. If I subsequently create the cookie again in the codebehind then I actually end up with TWO cookies with the same name in the response. The cookie...
0
291
by: Eric | last post by:
I need to send a cookie with a web service call. I create a cookie and a container, associate it with the web service call. But when I check with the network monitor, there is no cookie in the http stream attached. What could be the problem? Thanks Eric
1
1767
by: marc heiners | last post by:
Hello! I have to overgive an information from one website to another (same domain) by sertting a cookie with javascript. When the website is requested by a user a session cookie with a default value (for example 'miller') should be set with javascript or php. If the user chose a drop down menue on the website the cookie´s value should be overwritten with the chosen value from the drop down menu. <select name="familynames">
3
8189
by: Dave | last post by:
string m_request = some_web_page; HttpWebRequest request = (HttpWebRequest)WebRequest.Create(m_request ); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); Which works fine, but I need to set and send a cookie with the WebRequest. How do I do that?
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9600
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10631
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10374
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9196
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7651
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6880
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5686
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.