Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: Multiple Cookies with CGI::Application

by sedhed (Scribe)
on Jul 28, 2002 at 03:16 UTC ( [id://185801]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
           The interface to HTTP cookies is the cookie() method:
    
    ...
                                        -secure=>1);
               print $query->header(-cookie=>$cookie);
    
  2. or download this
           To create multiple cookies, give header() an array reference:
    
    ...
                   $cookie2 = $query->cookie(-name=>'answers',
                                             -value=>\%answers);
                   print $query->header(-cookie=>[$cookie1,$cookie2]);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-20 02:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found