I said:
>When CF tells the browser to redirect, it doesn't set a cookie
>at the same time. (I'm not sure why, or if this is even legal.)
Since I'm inquisitive like that, I wanted to see if setting cookies and
redirecting at the same time would actually work. I don't know if it's
legal or not, but Navigator doesn't have any problems with it. I whipped up
a quick perl script to do the test, and just did a really simple print() of
some cobbled-together HTTP headers. No modules or anything. Worked like a
champ. Request logs follow.
So, to make a long story short (too late!), it's CF's fault. Add it to the
bug list.
Request:
GET http://www.mojointeractive.com/rick/test.pl HTTP/1.0
Proxy-Connection: Keep-Alive
User-Agent: Mozilla/4.08 [en] (Win98; U ;Nav)
Host: www.mojointeractive.com
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
image/png, */*
Accept-Encoding: gzip
Accept-Language: en
Accept-Charset: iso-8859-1,*,utf-8
Response:
HTTP/1.1 302 Redirect
Date: Tue, 19 Sep 2000 21:04:56 GMT
Server: Apache/1.3.9 (Unix) mod_ssl/2.4.2 OpenSSL/0.9.3a
Set-Cookie: TEST=RickWasHere; expires=Sun, 27-Sep-2037
00:00:00 GMT; path=/;
Location: /
Content-Length: 117
Connection: close
Content-Type: text/html
<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found
<a HREF="/">here</a>
Next request:
GET http://www.mojointeractive.com/ HTTP/1.0
Proxy-Connection: Keep-Alive
User-Agent: Mozilla/4.08 [en] (Win98; U ;Nav)
Host: www.mojointeractive.com
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
image/png, */*
Accept-Encoding: gzip
Accept-Language: en
Accept-Charset: iso-8859-1,*,utf-8
Cookie: TEST=RickWasHere
-Rick
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.