in reply to CGI::Session - Problems creating session...

Do you have a /tmp directory on you WinXP box? I am guessing that you will need to use something like C:\temp instead.

Replies are listed 'Best First'.
Re: Re: CGI::Session - Problems creating session...
by Steny (Sexton) on May 02, 2003 at 04:25 UTC
    a /tmp directory exists under my cgi-bin directory.
    so, the path to the tmp directory is:
    c:\apache\cgi-bin\tmp
      I don't have a Windows box to test this on, but based on the docs for CGI::Session::File, I believe cees was right in that /tmp doesn't exist on a Windows machine; {Directory => '/path'} is looking for a filesystem directory, not a subdirectory on your webserver (as you described).

      Have you tried changing it to {Directory => 'C:\temp'} or {Directory => 'c:\apache\cgi-bin\tmp'} instead?
      ;)
      use Cwd; use Config; chdir $Config{archlib}; print cwd,$/; chdir 'Pod'; print cwd,$/; chdir '..'; print cwd,$/; chdir '/Pod' or warn "eek $!"; print cwd,$/; chdir '/'; print cwd,$/; __END__ C:/Perl/lib C:/Perl/lib/Pod C:/Perl/lib eek No such file or directory at - line 13. C:/Perl/lib C:/
      Absolute paths begin with a path separator (or drivename, depending on os, use File::Spec if you like portability -- see `perldoc perlport'), relative paths begin with a directory name (like ./foo)


      MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
      I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
      ** The Third rule of perl club is a statement of fact: pod is sexy.