Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cookies in http request headers

843790Sep 1 2007
Hi all,

How can I get the cookies in the request header? (now I know only how to get Set-Cookie in the response header)

ie:
as I click a topic in this forum, the cookies below are captured using a tool (live http headers). How can I get everything after Cookie:? (also I have no idea how my browser knows what cookies it should send when the coookies don't appear anywhere in Set-Cookies.)

Request:
Cookie: jive.vid=MV0m6Qg07kdMPU7L; jive.user.lastvisited=1188696639960; JSESSIONID=E724CF8B956CD4694327E3782C68B831; s_cc=true; s_sq=sunglobal%2Csundevforums%3D%2526pid%253Djscforum%25253A/forum.jspa%2526pidt%253D1%2526oid%253Dhttp%25253A//forum.java.sun.com/thread.jspa%25253FthreadID%25253D5209840%252526tstart%25253D0%2526ot%253DA%26sunonesearch%3D%2526pid%253Donesearch%25253A/search/onesearch/index.jsp%2526pidt%253D1%2526oid%253Djavascript%25253ATurnLayer%2525280%25252C0%252529%25253B%2526ot%253DA

Response:
Set-Cookie: jive.user.lastvisited=1188696668200;Expires=Tue, 02-Oct-2007 01:31:08 GMT;Path=/

Thanks for any help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 29 2007
Added on Sep 1 2007
0 comments
190 views