--- session.php 2004-11-17 01:56:21.000000000 +0100 +++ new_session.php 2004-11-21 02:08:08.544136688 +0100 @@ -231,7 +231,7 @@ // touch command don't works under windows for directory. // since it is only needed for unix (for now) I'll test // the platform and bypass this call is windows platform. - if ( PHP_OS == "WINNT" || PHP_OS == "WIN32" || $GLOBALS['bLockSession']) + if ( !(PHP_OS == "WINNT" || PHP_OS == "WIN32") ) touch($GLOBALS['gszSessSavePath']."/sess_".$szId); if ($fp = @fopen($szSessionFile, "w")) @@ -253,7 +253,7 @@ { debug_msg("Destroy $szId"); } - if ( (PHP_OS == "WINNT" || PHP_OS == "WIN32") ) + if ( (PHP_OS == "WINNT" || PHP_OS == "WIN32") || $GLOBALS['bLockSession'] ) { $szLockFile = $GLOBALS['gszSessSavePath']."/sess_".$GLOBALS["gszSessId"]."/lock";