Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Multiple Cookies with CGI::Application

by sedhed (Scribe)
on Jul 28, 2002 at 03:16 UTC ( #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? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2022-06-30 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (98 votes). Check out past polls.

    Notices?