File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
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: 12955
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!
It is sorta covered in the JavaRanch Style Guide.
subject: About cookie