I really hope this isn't a FAQ, but I've lost more hair over this problem
than I really should have, which is why I'm here.
I'm using Apache::Session::File, and am setting a cookie for my sessionid,
and my code is currently running in plain-old CGI mode (one of the libraries
I'm using keeps segfaulting under mod_perl for some strange reason). When I
visit the CGI, it successfully creates the session file in the /tmp
directory, and all subsequent accesses to the page successfully load the
session information from the right file on disk. However, my problem is
that any value I set in my session is never updated on disk. I have tried
explicitly calling tied(%session)->save and delete, to no avail.
Permissions look good, the disk isn't full, and obviously it was able to
access the disk in the first place since it was able to write the session
file to disk.
I'm about to go crazy here, since my application is working with the
exception of this crucial piece. Any help anyone can provide would be
greatly appreciated.
System config:
Redhat 7.1, with stock Apache/mod_perl RPMs.
Stock RH7.1 Perl.
Apache::Session v1.53
-man
Michael A Nachbaur