need_help21 has asked for the wisdom of the Perl Monks concerning the following question:
# Create new cookies and send them my $cookie1 = new CGI::Cookie(-name=>'user_id',-value=>$username); print CGI::header(-cookie=>[$cookie1]); $cookie1->bake; #retrieving cookies my %cookies = raw_fetch CGI::Cookie; print %cookies; foreach (keys %cookies) { print ($cookies{$_}); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cookies not getting setup
by Corion (Patriarch) on Dec 04, 2007 at 07:01 UTC | |
by need_help21 (Novice) on Dec 04, 2007 at 07:28 UTC | |
by Corion (Patriarch) on Dec 04, 2007 at 07:35 UTC | |
| |
by Gangabass (Vicar) on Dec 04, 2007 at 07:45 UTC |