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

Re: (newrisedesigns) cookie problem

by newrisedesigns (Curate)
on Apr 29, 2002 at 03:04 UTC ( #162752=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use CGI;
    ...
    $q = new CGI;
    $c = $q->cookie(-name=>"Username", -value=>"Fred Flintstone", -path=>"
    +/", -expires=>"+1d");
    print $q->header(-cookie=>"$c");
    
  2. or download this
    use strict;
    use CGI;
    ...
    
    $q = new CGI;
    $c = $q->cookie("Username");
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2018-10-16 01:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (82 votes). Check out past polls.

    Notices?