469,609 Members | 1,687 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,609 developers. It's quick & easy.

Cookies and Frames

What's the trick to sharing cookies between frames? I can set and read a
cookie in the same frame, but if I try to read the cookie in another frame
it is undefined. :o(

There are some other cookies that are available in all frames, so I know
that the frames are capable of reading cookies, just not the ones that I set
in the other frame.

P.S. I am not setting any expiration, path, or domain... keeping the
defaults.
Jul 23 '05 #1
1 1498
Eric Petzold wrote:
What's the trick to sharing cookies between frames? I can set and read a
cookie in the same frame, but if I try to read the cookie in another frame
it is undefined. :o(

There are some other cookies that are available in all frames, so I know
that the frames are capable of reading cookies, just not the ones that I
set in the other frame.

P.S. I am not setting any expiration, path, or domain... keeping the
defaults.


This is as bad a problem description as any.
<http://www.catb.org/~esr/faqs/smart-questions.html>

How exactly do you attempt to set each cookie?
What is the URI of the resource to set each cookie?
How exactly do you attempt to read each cookie?
What is the URI of the resource to read each cookie?
With which user agents and versions have you tested
with on which operating system? Are there any errors
displayed (in the JavaScript Console) when executing
script code on the Web site?

At least those questions have to be answered before
one can make even an educated guess.

<http://jibbering.com/faq/>
PointedEars
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Dan Meehan | last post: by
1 post views Thread by martingerber | last post: by
7 posts views Thread by Bert | last post: by
reply views Thread by Ed Douglas | last post: by
12 posts views Thread by Don Juan | last post: by
1 post views Thread by R. Vince | last post: by
1 post views Thread by Sanjib Biswas | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.