Well, here is my complete code that is generating this error:
use Data::Dumper;
use CGI::Session;
use CGI;
my $cgi = new CGI;
my $session = new CGI::Session(undef, $cgi, {Directory=>"\tmp"
+});
$cookie = $cgi->cookie(CGISESSID => $session->id );
print $cgi->header(-cookie=>$cookie);
With New error:
(in cleanup) could not flush: Couldn't store 4206b0c8bba60b524
+6ced512c58
f5481 into mp\cgisess_4206b0c8bba60b5246ced512c58f5481: Invalid a
+rgument at
login.cgi line 0
It seems like it won't create a session basically which I'm not sure why. I've searched the net and everywhere else and havn't found anyone with a similar problem (except one German site I couldn't read hehe). Any ideas? I'm going nuts trying to figure this out. |