in reply to SOLVED: How to create sessions via FastCGI?

What webserver are you using? Has the webserver's process owner permission to write in the /tmp ? Is the webserver running in chroot mode?

Those are the things I'd ask myself in order to diagnose this. one further thing you can do is instead of using CGI::Session, try to create a new file with the open command in the same location and see if you can, if you cannot you can read $@ to see what the problem was. This is usually a problem with permissions

  • Comment on Re: How to create sessions via FastCGI?

Replies are listed 'Best First'.
Re^2: How to create sessions via FastCGI?
by Ray.Zachary (Acolyte) on Jul 31, 2010 at 05:37 UTC
    The web server is Apache 2.2, without chroot.
    I've checked the permission of /tmp, permission is 777, and I've made my CGI scripts wrote some session files in there before.
    So I thought it passably not caused by permission.

      /tmp should have mode 01777, not 0777.

      Alexander

      --
      Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)