Help for this page

Select Code to Download


  1. or download this
    # Create new cookies and send them
    $cookie1 = new CGI::Cookie(-name=>'ID',-value=>123456);
    print header(-cookie=>[$cookie1]);
    
  2. or download this
    %cookies = fetch CGI::Cookie;
    $id = $cookies{'ID'}->value;