in reply to Pulling out the value from a cookie
Straight from the POD of CGI.pm
To create a cookie$cookie = $query->cookie(-name=>'sessionID', -value=>'xyzzy', -expires=>'+1h', -path=>'/cgi-bin/database', -domain=>'.capricorn.org', -secure=>1); print $query->header(-cookie=>$cookie);
use CGI; $query = new CGI; $riddle = $query->cookie('riddle_name'); %answers = $query->cookie('answers');
| Just me, the boy and these two monks, no questions asked. |
|
|---|