Connecting Tech Pros Worldwide Help | Site Map

Frames and cookies in IE

jonhyland@hotmail.com
Guest
 
Posts: n/a
#1: Nov 19 '05
I've been having a problem retrieving a cookie set in a frame.

The way the page works, I have a frameset covering the entire viewable
area. The outer frame is from one domain, the inner frame is another
(don't bother asking why.. I just need to).

Lets say the outer frame loads "http://www.domain-A.com/whatever.aspx",
and the inner frame loads "http://www.domain-B.com/another.aspx".

All click navigation occurs in the inner frame, loading content from
domain-B. I set a cookie in the inner frame (domain-B) and retrieve it
again in the inner frame (domain-B) on the next page request. Domain-A
in never involved in the cookie process.

Now in Firefox I can get the cookie just fine. In IE I cannot. This
doesn't make sense. Now I know a cookie can't cross a domain boundry,
but in this case it shouldn't be. Domain-B is the one both setting and
retrieving the cookie.

Any ideas out there?

Thanks in advance!

JiangZemin
Guest
 
Posts: n/a
#2: Nov 19 '05

re: Frames and cookies in IE


Hi,
pls see this thread re: P3P and IE and cookies from diffrent domains:
http://groups-beta.google.com/group/...18a69f68cf5234

just guessing, IE6 may still be blocking the cookie, treating it as a
third-party cookie, even though all the hott cookie action is happening
within the same domain, because the parent frame is still in a different
domain?

HTH,
Premier JiangZemin

<jonhyland@hotmail.com> wrote in message
news:1112141420.798010.121350@z14g2000cwz.googlegr oups.com...[color=blue]
> I've been having a problem retrieving a cookie set in a frame.
>
> The way the page works, I have a frameset covering the entire viewable
> area. The outer frame is from one domain, the inner frame is another
> (don't bother asking why.. I just need to).
>
> Lets say the outer frame loads "http://www.domain-A.com/whatever.aspx",
> and the inner frame loads "http://www.domain-B.com/another.aspx".
>
> All click navigation occurs in the inner frame, loading content from
> domain-B. I set a cookie in the inner frame (domain-B) and retrieve it
> again in the inner frame (domain-B) on the next page request. Domain-A
> in never involved in the cookie process.
>
> Now in Firefox I can get the cookie just fine. In IE I cannot. This
> doesn't make sense. Now I know a cookie can't cross a domain boundry,
> but in this case it shouldn't be. Domain-B is the one both setting and
> retrieving the cookie.
>
> Any ideas out there?
>
> Thanks in advance!
>[/color]


jonhyland@hotmail.com
Guest
 
Posts: n/a
#3: Nov 19 '05

re: Frames and cookies in IE


Awesome, that did the trick.

jonhyland@hotmail.com
Guest
 
Posts: n/a
#4: Nov 19 '05

re: Frames and cookies in IE


Awesome, that did the trick.

Closed Thread