This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes About cookie Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Bookmark "About cookie" Watch "About cookie" New topic

About cookie

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

Is cookie a part of HTTP header or body?
I think it is HTTP body.

John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
cookies are part of the body.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13000
Tch! Cookies are created by headers
Request for Comments: 2109 defines two headers
Set-Cookie and Cookie
Do a search for RFC 2109 on any search engine
John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
thanks a lot for clearing this up!
I agree. Here's the link:
subject: About cookie
jQuery in Action, 3rd edition