The \n has two roles. First, \n acts as a line feed character. Second, it
acts as a buffer release mechanism. In some systems (i.e. IE) the \n is
assumed and automatically inserted, while in others the \n needs to be
specifically added. This is why the \n can be critical.
Tal Cohen
-Origina
From: "Alex Brelsfoard" <[EMAIL PROTECTED]>
Date: Tue, 31 Aug 2004 14:26:35 -0500 (CDT)
. . .
The advice you guys gave me did indeed fix the problem for mozilla
(haven't tested Safari yet) I really just needed teh \n
Thanks much!
So I guess the fact that it "... works beautifu
> On 31 Aug 2004, at 3:05 PM, Alex Brelsfoard wrote:
>
>>> or even using CGI to create the cooking instead of doing it by hand.
>> I started out using CGI, but it got in the way of other things I was
>> doing
>
> How did it get in the way? If you use it in the object-oriented
> interface, and
On 31 Aug 2004, at 3:05 PM, Alex Brelsfoard wrote:
or even using CGI to create the cooking instead of doing it by hand.
I started out using CGI, but it got in the way of other things I was
doing
How did it get in the way? If you use it in the object-oriented
interface, and don't use it to cre
> 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;
>>
I could be wrong but aren't you missing a new line character:
my $cookie = "Set-Cookie: " .
"$COOKIENAME=$userID; " .
"domain=.breltech.com; " .
"expires=+1d\n";
print $cookie;
.
print "Content-type: text/html\n\n";
Tal
-Original Message-
From: [E
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
OK, so here's my situation. I have a web applicaiton that you log into
and it writes a tiny little userID cookie to the browser. This all works
beautifully in IE. However, in Mozilla and Safari it's a different story.
In Sfari, the cookie is not written at all. In Mozilla the writing of
the co
8 matches
Mail list logo