Help for this page

Select Code to Download


  1. or download this
        my $session = new CGI::Session(undef, $empty, {Directory=>"c:/apac
    +he/sessions"});
        $session->expire('+18h');
    ...
                    -expires => '+30d', 
                    -path => '/');
        print $foo->header(-cookie => $cookie);
    
  2. or download this
    my $sid = $foo->cookie('main') || undef;
    my $session = new CGI::Session(undef, $sid, {Directory=>'c:/apache/ses
    +sions'});