Re: netscape cookies

Peter Flynn (pflynn@curia.ucc.ie)
24 Dec 1996 22:46:25 +0000 (GMT)


Date: 24 Dec 1996 22:46:25 +0000 (GMT)
From: Peter Flynn <pflynn@curia.ucc.ie>
Subject: Re: netscape cookies
In-reply-to: <199612241351.HAA05291@xhost1> (gail@elara.tripos.com)
To: www-html@www10.w3.org
Message-id: <199612242246.WAA03698@curia.ucc.ie>

   >Equally, your "expires" value has spaces: I think it
   should be in quotes. 

   It works without quotes in Netscape and putting quotes around
   it didn't seem to help with IE.  

OK, but it's invalid HTML without the quotes. "Working" or not in
Netscape or MSIE is no test of validity :-)

   Set-Cookie: foo=test; domain=www3.tripos.com

   doesn't result in the variable HTTP_COOKIE being created in
   the subsequent shell script.  In IE, I get a warning around
   the cookie being received and the info looks correct in the
   warning message but the cookie disappears after that.

Are you certain your server groks cookies? What does the documentation
say about the transformation of Set-Cookie --> HTTP_COOKIE ?

   >How are you forcing this? With the META element
   >or by doctoring your server?

   I don't know what this means.  I am not doing anything else special.

What I mean is, where does this Set-Cookie line occur in your system?
Is it in an HTML file in a META element, eg

   <meta http-equiv="Set-Cookie" content="foo=test; domain=www3.tripos.com">

which is the normal way to fake up HTTP response headers; or in this
form, but generated by a script; or somewhere else in your system?

///Peter