#!/usr/bin/perl -w use CGI qw/:standard/; $the_cookie = cookie( -name=>'ident', -value=>somevalue); print "Set-Cookie: $the_cookie\n"; # NOTE: you cannot set the cookie and define it all on one line # you MUST create the cookie first .. then set it with a print stateme +nt
In reply to cookie using cgi.pm by csorensen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |