Subject:
|
Question about HTTP cookies
|
Newsgroups:
|
lugnet.off-topic.geek
|
Date:
|
Mon, 10 Apr 2000 18:05:54 GMT
|
Reply-To:
|
JSPROAT@IOantispam.COM
|
Viewed:
|
577 times
|
| |
| |
Hey all,
When looking in my cookie jar, I see 4 cookies for LUGNET:
NEWSPOST=x,
NEWSMAIL=x,
NEWSGROUPFILTER=x,
/=x
However, when I trace an HTTP GET, the only cookies transmitted in the query
are NEWSGROUPFILTER and / . e.g.:
GET http://www.lugnet.com/ HTTP/1.0
[...]
Cookie: NEWSGROUPFILTER=x; /=x
[...]
However, when I post a message (HTTP POST), Netscape sends more cookies.
e.g.:
POST http://www.lugnet.com/news/post/submit.cgi HTTP/1.0
[...]
Cookie: NEWSPOST=x; NEWSGROUPFILTER=x; /=x
[...]
How does Netscape know which cookies to send, and which to keep?
More to the point, if I were to implement this in my own app, should I just
send all cookies for every HTTP PUT?
Cheers,
- jsproat
--
Jeremy H. Sproat <jsproat@io.com> ~~~ http://www.io.com/~jsproat/
Card-carrying member of the Star-Bellied Sneech Preservation Society
|
|
Message has 1 Reply:
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|