As was mentioned above, you have to give it a valid directory path. \tmp is probably not a valid directory path. For example, if you want your session files stored in a directory called SESSION located in the root of your C drive, make the directory there and use:
my $session = new CGI::Session(undef, $cgi, {Directory=>"C:\\SESSION"});
In reply to Re^3: CGI Session
by Anonymous Monk
in thread CGI Session
by shaolindoman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |