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