Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

(bbq) Re: Windows IE Cookies

by BBQ (Curate)
on Aug 17, 2000 at 02:35 UTC ( [id://28224]=note: print w/replies, xml ) Need Help??


in reply to Windows IE Cookies

Adam is correct. There are no significant differences. That I can remember, the only difference is that netscape 4.07 breaks if the cookie isn't terminated with a ; (don't ask me how I found that out)

Assuming that you have the correct format, there should be no differences. Also, as Adam pointed out, you should be safer with CGI::Cookie or the cookie() function in CGI.pm. If you still feel the need to print the cookie yourself, you can use this (copied straight from perldoc):
my $c = new CGI::Cookie(-name => 'foo', -value => ['bar','baz'], -expires => '+3M'); print "Set-Cookie: $c\n"; print "Content-Type: text/html\n\n";
I hope that helps.

#!/home/bbq/bin/perl
# Trust no1!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://28224]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-18 08:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found