davemabe has asked for the wisdom of the Perl Monks concerning the following question:

I trying to find the best way to use sessions with CGI scripts on IIS (with SQL Server). I have used Apache::Session on Apache, MySQL, and Linux in the past, and would like to continue to use this. I have tried using Apache::Session::File, but I am getting inconsistent behavior. Has anyone used Apache::Session::DBI with MS SQL Server? If so, which version on Apache::Session are you using?

Or another question, is there a better way to use sessions on Win32?

Thanks...

Replies are listed 'Best First'.
Re: Sessions on Win32
by perrin (Chancellor) on Aug 15, 2002 at 22:14 UTC
    You may be having problems because Apache::Session::File uses file locking which is not supported on Win32 last I heard. If you used Apache::Session::MySQL instead (or Apache::Session::DBI) that would take care of it.
Re: Sessions on Win32
by Anonymous Monk on Aug 15, 2002 at 21:43 UTC
    <tongue in cheek>
    Power off your Win32 box and put your old Linux box on top
    of it and there you go ... you got sessions on Win32 :))))
    </tongue in cheek>