Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

CGI.pm, cannot retrieve cookie.

by submersible_toaster (Chaplain)
on Nov 29, 2002 at 02:54 UTC ( #216414=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -wT
    use strict;
    ...
            $q->end_html;
     exit(0);
    }
    
  2. or download this
    #!/usr/bin/perl -wT
    use strict;
    ...
    
    my $q= CGI->new;
    my $cookie = $q->cookie('id'); #This keeps returning undef
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2021-10-20 10:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (79 votes). Check out past polls.

    Notices?