473,396 Members | 1,933 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

cookie problem with frameset involving 2 domains

25
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 1112

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

Similar topics

4
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...
5
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
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)...
2
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...
3
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...
0
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...
1
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...
3
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.