in reply to Re^2: CGI::Session in SUN OS
in thread CGI::Session in SUN OS

Why aren't you error checking?
CGI::Session..... or die CGI::Session->errstr();

Replies are listed 'Best First'.
Re^4: CGI::Session in SUN OS
by fasa77 (Initiate) on Jul 21, 2010 at 14:08 UTC
    I added the error chack and that's what I get:
    new(): failed: load(): couldn't retrieve data: retrieve(): couldn't lock '/tmp/cgisess_e5e193d04e0d0b818bc848bc6ef5c668': Bad file number at cgi_test.pl line 14. Are you familiar with this error?
    By the way, the CGI::Session version is 4.42
    Thanks,
    fasa
      Possibly some sort of permissions issue?
      What user is the CGI script being executed as?
      Do they have proper access to /tmp?
      Have you tried things from the shell when logged in as that user?