Help for this page
my $sid = $foo->cookie('main') || undef; my $session = new CGI::Session(undef, $sid, {Directory=>'c:/apache/ses +sions'});
if ($sid) { $session = new CGI::Session(undef, $sid, {Directory=>'c:/apache/se +ssions'}); # a bunch of code that grabbed data from the session }