Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^5: Setting and Reading Cookies

by crashtest (Curate)
on Jun 21, 2005 at 03:37 UTC ( [id://468556]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Setting and Reading Cookies
in thread Setting and Reading Cookies

bigjoe11a, did you try reading the perldoc for CGI that gryphon linked to? I did, and I found the following blurb one or two screens down:
To create multiple cookies, give header() an array reference:
$cookie1 = cookie(-name=>'riddle_name', -value=>"The Sphynx's Question +"); $cookie2 = cookie(-name=>'answers', -value=>\%answers); print header(-cookie=>[$cookie1,$cookie2]);
So for your specific example, try print $cgi->header( -cookie => [$cookie1,$cookie2,$cookie3] ).

Replies are listed 'Best First'.
Re^6: Setting and Reading Cookies
by bigjoe11a (Novice) on Jun 21, 2005 at 03:56 UTC
    Sorry, too late to tell you, I got it working, works great too, I downloaded CGI.pm. as soon as I get a chance to go over it I will. Thanks For your time.

Log In?
Username:
Password:

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

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

    No recent polls found