On Tue, Aug 31, 2004 at 01:46:35PM -0500, Alex Brelsfoard wrote:

> I am currently using the followin code to write the cookie:
> my $cookie = "Set-Cookie: " .
>            "$COOKIENAME=$userID; " .
>            "domain=.breltech.com; " .
>            "expires=+1d";
> print $cookie;
> .....
> print "Content-type: text/html\n\n";

Are you print a newline somewhere in between those two lines of code?  I'd
suggest changing the first line to

print "$cookie\n";

or even

print "Set-Cookie: $cookie\n";

or even using CGI to create the cooking instead of doing it by hand.


Ronald
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to