in reply to CGI::Session multiple cookies
#session2.pl# Object initialization: use CGI::Session; $session = new CGI::Session(undef, undef, {Directory=>'c:\perl\temp\se +ssions'}); # send proper HTTP header with cookies: print $session->header(); print $session->header(); print "click <A href='session2.pl'> here";
the double print is to show the session on the page.# Object initialization: use CGI::Session; $session = new CGI::Session(undef, undef, {Directory=>'c:\perl\temp\se +ssions'}); # send proper HTTP header with cookies: print $session->header(); print $session->header();
|
|---|