Help for this page

Select Code to Download


  1. or download this
    $session = CGI::Session->new(undef, $sid, {Directory=>'C:/apache/sessi
    +ons',NoCreateIfNotExists=>1});
    
  2. or download this
    my $sid = $foo->cookie('main') || undef;
    my $session; # = undef
    ...
      $session = CGI::Session->new(undef, $sid, {Directory => 'c:/apache/s
    +essions'});
      $session->delete() if $session->is_new();
    }