Hi Nic & Lara,
As Lara suggested I used request.getHeader("Cookie");
in my servlet and it gave me the complete name value pair only,
with semicolon (;) as the seperator, of cookies in my cookie file.
Nic, I am using Bluestone as my application server and
I use both Netscape 4.7 and IE 5.0 browsers.
Thanks,
Naveen.
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Lara,
Walter
Sent: Thursday, September 07, 2000 7:11 PM
To: [EMAIL PROTECTED]
Subject: Re: domain value of the Cookies in Servlets
The "Set-Cookie" header is only valid on HTTP response messages. HTTP
request use "Cookie" header instead. Therefor, you should be doing
request.getHeader("Cookie").
Walter Lara
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Nic
Ferrier
Sent: Thursday, September 07, 2000 7:13 PM
To: [EMAIL PROTECTED]
Subject: Re: domain value of the Cookies in Servlets
>>> Naveen Chandra <[EMAIL PROTECTED]> 08-Sep-00 1:54:36 AM >>>
>Hi Nic Ferrier,
>Thanks for the reply, but the request.getHeader("Set-Cookie")
>always gives me a null value in my servlet code.
That's really rude! Your servlet engine is removing the header so you
can't access it!
I think that breaks the spec. What is the servlet engine?
>Is it really a bug OR ..... ???
What is the browser you're using - I'll do a test for you.
Nic
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html