I'm using CGI::Session 3.95 on a CGI::Application based app running on IIS. Session data is not being stored persistently. I am calling the CGI::Session->new with a valid session identifier, and I am able to store data in the session within one run of the script, but the data doesn't seem to be written to disk. I'm using the MySQL backend and I am calling $session->flush() after inserting data.
Any ideas? After some searching I've seen that it might have something to do with the call to flush() being in a package rather than in a script.