Marvin,
Thanks for the info. Adding the Host helped. It seems the referring page
affected this also. Anyhow, now I see the initial cookie. However, I have a
new problem. On the redirects, LWP is not including the cookie with the
request. Below shows what is going on. The first request is what I set up.
The subsequent requests LWP is automatically handling and it is not adding
the cookie to the request. So I end up at the "browser does not support
cookies" page. Any idea if there is a way to get LWP to include the cookie?
Bernie
REQUEST: GET http://www.nordstrom.com/
Accept: text/html
Host: www.nordstrom.com
User-Agent: Mozilla/4.0 (My Browser)
Content-Type: text/html
RESPONSE: HTTP/1.1 302 (Found) Moved Temporarily
Connection: close
Date: Wed, 19 Apr 2000 02:29:48 GMT
Location: /?wfx2=lh2hj34l8s
Server: Microsoft-IIS/5.0
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Client-Date: Wed, 19 Apr 2000 01:32:18 GMT
Client-Peer: 216.34.90.139:80
Set-Cookie: SITESERVER=ID=ab5b3ffdbcd9e824f12f6612b0459946; expires=Monday,
01-Jan-2035 00:00:00 GMT; path=/; domain=.nordstrom.com
REQUEST: GET http://www.nordstrom.com/?wfx2=lh2hj34l8s
Accept: text/html
Host: www.nordstrom.com
User-Agent: Mozilla/4.0 (My Browser)
Content-Type: text/html
RESPONSE: HTTP/1.1 302 (Found) Moved Temporarily
Connection: close
Date: Wed, 19 Apr 2000 02:30:04 GMT
Location: /_mem_bin/nocookie.asp?/?wfx2=lh2hj34l8s
Server: Microsoft-IIS/5.0
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Client-Date: Wed, 19 Apr 2000 01:32:18 GMT
Client-Peer: 216.34.90.139:80
Set-Cookie: SITESERVER=ID=94fd64cd9eb62f55814ab7c21dc4ca34; expires=Monday,
01-Jan-2035 00:00:00 GMT; path=/; domain=.nordstrom.com
REQUEST: GET
http://www.nordstrom.com/_mem_bin/nocookie.asp?/?wfx2=lh2hj34l8s
Accept: text/html
Host: www.nordstrom.com
User-Agent: Mozilla/4.0 (My Browser)
Content-Type: text/html
RESPONSE: HTTP/1.1 200 OKCache-Control: privateConnection: Keep-Alive
Date: Wed, 19 Apr 2000 02:30:31 GMTPragma: no-cacheServer: Microsoft-IIS/5.0
Content-Length: 322Content-Type: text/htmlExpires: Thu, 01 Dec 1994 16:00:00
GMT
Expires: 0Client-Date: Wed, 19 Apr 2000 01:32:18 GMT
Client-Peer: 216.34.90.139:80
Set-Cookie: SITESERVER=ID=d1ed7a6c8dbc4d211f378fe4eaeaa4bf; expires=Monday,
01-Jan-2035 00:00:00 GMT; path=/; domain=.nordstrom.com
Set-Cookie: ASPSESSIONIDGGGGQUDK=OFECKLFCIJPGPPKIHLNEGELJ; path=/
Title: Incorrect Access Permission
No cookie.
To access this site your browser must be accepting cookies.
-----Original Message-----
From: Marvin Simkin <[EMAIL PROTECTED]>
To: bernie%summum.org <[EMAIL PROTECTED]>
Cc: libwww%perl.org <[EMAIL PROTECTED]>
Date: Tuesday, April 18, 2000 10:17 AM
Subject: Re: Cookie Issue
>Not seeing a reply yet, maybe this will help.
>
>1. I don't see HTTP/1.x at the end of your GET request. (I am not able to
test
>the effect of this omission so it may not matter. Or maybe your program is
>sending it but not printing it.)
>
>2. Try adding a Host: header. (Patch has been recently discussed on this
>list.)
>
>3. The User-Agent header is also required although yours works fine.
>
>Example 1 gives a cookie when Host and User-Agent are present. Example 2
has
>no UA and no cookie. Example 3 has no Host and no cookie:
>
>
>GET http://www.nordstrom.com/ HTTP/1.0
>Host: www.nordstrom.com
>User-Agent: Mozilla/4.0 (My Browser)
>
>HTTP/1.1 302 Moved Temporarily
>Server: Microsoft-IIS/5.0
>Date: Tue, 18 Apr 2000 17:05:30 GMT
>Set-cookie: SITESERVER=ID=e7ab0ca6b51c6f418407a23d6d1d7cc5; expires=Monday,
>01-Jan-2035 00:00:00 GMT; path=/; domain=.nordstrom.com
>Expires: Thu, 01 Dec 1994 16:00:00 GMT
>Connection: close
>Location: /?wfx2=lh2hj34l8s
>
>
>
>GET http://www.nordstrom.com/ HTTP/1.0
>Host: www.nordstrom.com
>
>HTTP/1.1 302 Moved Temporarily
>Server: Microsoft-IIS/5.0
>Date: Tue, 18 Apr 2000 17:05:26 GMT
>Connection: close
>Location: /?wfx2=lh2hj34l8s
>
>
>
>GET http://www.nordstrom.com/ HTTP/1.0
>User-Agent: Mozilla/4.0 (My Browser)
>
>HTTP/1.1 302 Moved Temporarily
>Server: Microsoft-IIS/5.0
>Date: Tue, 18 Apr 2000 17:05:37 GMT
>Connection: close
>Location: /?wfx2=lh2hj34l8s
>
>
>
>
>...