Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

(bbq) Re: Windows IE Cookies

by BBQ (Deacon)
on Aug 17, 2000 at 02:35 UTC ( #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? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2022-12-04 18:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?