I tested this from my end also.

I see the cookies being properly set when I do:
lwp-request -e 'http://cloudstock.com'

I get a cookie warning from Netscape
when i get them via 'http://www.cloudstock.com'.

no cookie warning from netscape and no cookies in cookie.txt
when i access via 'http://cloudstock.com'.

I did not read the RFC so I cannot comment on it,
but I bet the guys at Netscape have not read that
RFC either.  I think Netscape is not accepting the
cookie because of the beginning period in .cloudstock.com.
This is either purposeful or accidental.  Perhaps you can
redirect to www.cloudstock.com in order to make sure the
cookie is properly set.

___cliff rayman___
____genwax.com____

Drew Taylor wrote:

> Drew Taylor wrote:
> >
> > Perrin Harkins wrote:
> > >
> > > Does your Set-Cookie header include a path setting?  Some browsers require
> > > that.
> > Yes, it sets the path to '/'. I'm sitting here scratching my head. I'm
> > doing everything I know to do and it's not working... :-(
> >
> > Here's the relevant code: ($domain is 'cloudstock')
> > my $cookie = $CGI->cookie(
> >         -name => 'cookieName',
> >         -value  => $cookievalue,
> >         -path   => '/',
> >         -domain => ".$domain.com",
> >         -expires => $expires);
> Here is the result of a telnet to port 80
>
> [drew@yoda drew]$ telnet cloudstock.com 80
> Trying 216.48.12.177...
> Connected to cloudstock.com.
> Escape character is '^]'.
> GET / HTTP/1.0
>
> HTTP/1.1 200 OK
> Date: Thu, 06 Apr 2000 21:42:15 GMT
> Server: Stronghold/2.4.2 Apache/1.3.6 C2NetEU/2412 (Unix) mod_perl/1.21
> Set-Cookie:
> customerID=hash&02dc0fe4f99825ccb7dd5ef643196a93&ID&177&reg&0&time&955057336;
> domain=.cloudstock.com; path=/; expires=Fri, 06-Apr-2001 21:42:16 GMT
> Set-Cookie:
> lightboxID=hash&b59e1bdb2340596c0ba0d7fe8d3d79f6&ID&184&reg&0&time&955057336;
> domain=.cloudstock.com; path=/; expires=Fri, 06-Apr-2001 21:42:16 GMT
> Connection: close
> Content-Type: text/html
>
> --
> Drew Taylor
> Vialogix Communications, Inc.
> 501 N. College Street
> Charlotte, NC 28202
> 704.370.0550
> http://www.vialogix.com

Reply via email to