Help for this page

Select Code to Download


  1. or download this
     
      my %cookies = CGI::Cookie->fetch;
      print encode_entities(Dumper(\%cookies))."\n";
    
  2. or download this
    $VAR1 = {
              'TSSID' => bless( {
    ...
                                }, 'CGI::Cookie' )
            };
    
  3. or download this
      my $cookie2 = $q->cookie(TSSID => $session->id );
      print encode_entities(Dumper($cookie2))."\n";
    
  4. or download this
    $VAR1 = bless( {
                     'name' => 'TSSID',
    ...
                                  '40d64ab47d37f6c7ae806dc11a59f242'
                                ]
                   }, 'CGI::Cookie' );
    
  5. or download this
    my $sessioncookie = new CGI::Cookie(-name=>$sname,-value=>$sid,-expire
    +s=>$session_cookie_timeout,-path=>'/cgi-bin',-domain=>$domain,-secure
    +=>1);
        print header(-Cookie=>[$sessioncookie],-type=>"text/html");
    
  6. or download this
        print header(-Cookie=>[$sid],-type=>"text/html");
    
  7. or download this
    {
    my $sname = 'CGISESSID';
    ...
    my $sessioncookie = new CGI::Cookie(-name=>$sname,-value=>$cookie2,-pa
    +th=>'/cgi-bin'-secure=>1);
    print encode_entities(Dumper($sessioncookie))."\n";
    }
    
  8. or download this
    $VAR1 = bless( {
                     'name' => 'CGISESSID',
    ...
                                         }, 'CGI::Cookie' )
                                ]
                   }, 'CGI::Cookie' );
    
  9. or download this
      my $sname=''; 
      my $cookie3 = new CGI::Cookie(-name=>$sname,-value=>$session->id,-pa
    +th=>'/cgi-bin',-secure=>1);
      print encode_entities(Dumper($cookie3))."\n";
    
  10. or download this
    $VAR1 = bless( {
                     'name' => '',
    ...
                                  '40d64ab47d37f6c7ae806dc11a59f242'
                                ]
                   }, 'CGI::Cookie' );