To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 1520
1519  |  1521
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:
  Re: Question about HTTP cookies
 
(...) RTFM (Read The Persistent Client State HTTP Cookies Spec! :) (URL) it looks at the 'path' field of the cookie. --Todd (25 years ago, 10-Apr-00, to lugnet.off-topic.geek)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR