Help for this page

Select Code to Download


  1. or download this
    use CGI::Session;
    my $session = new CGI::Session();
    ...
                                CGISESSID => $session->id,
                               );
    print $query->header(-cookie => $cookie);
    
  2. or download this
    (my $http_host  = $ENV{'HTTP_HOST'}) =~ s/(www.)?([\w\-.]+)/$2/;
    
    ...
                                -domain  =>  ".".$http_host,
                               );
    print $query->header(-cookie => $cookie);