#!/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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: cookie using cgi.pm
by Anonymous Monk on Jun 30, 2000 at 21:58 UTC | |
by csorensen (Beadle) on Jun 30, 2000 at 22:02 UTC | |
by bliz (Acolyte) on Jul 01, 2000 at 02:26 UTC | |
by csorensen (Beadle) on Jul 01, 2000 at 02:49 UTC |