>Number:         4217
>Category:       os-windows
>Synopsis:       Set-Cookie headers are NOT passed on NT box.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Apr  9 16:10:01 PDT 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.4
>Environment:
Windows NT Server 4.0 - SP3
>Description:
Cookies no passed while execing a Perl script (follows):
-------------< start script >-------------
#!/usr/bin/perl
$output = 
qq~Set-Cookie: test=Ohmygod; expires=Fri, 31-Dec-1999 00:00:00 GMT; path=/ 
domain=warp.psi.br

Content-type: text/html

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML><BODY>
$ENV{'HTTP_COOKIE'}
</BODY></HTML>
~;
print $output;
---------------< end script >---------------

The output gathered from Apache (telnet://localhost:80) was the following:
---------------< start output >---------------
Content-type: text/html
 
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML><BODY>
 
</BODY></HTML>
---------------< end output >---------------

>From the simplicity of what is described above, I guess you can pretty much 
>tell that the Set-Cookie header is getting gobbled up somewhere along the way.
>How-To-Repeat:
yes, just run the script above mentioned on your own NT box.
>Fix:
nope... I'm just the guy using Apache! :o)
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]



Reply via email to