Frames and cookies in IE

  • Thread starter Thread starter jonhyland
  • Start date Start date
J

jonhyland

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!
 
Back
Top