Well, if you delete the php.ini file PHP is just going to fallback on all the default values that you saw in the file.
So let's troubleshoot step by step.
Make sure that php.ini has the right value then run a phpinfo() script. Look for the session.save_path value.
<?php
phpinfo();
?>
This will spit out a detailed table of configuration settings.
If session.save_path still has a value of /tmp then the configuration change did not take effect and the problem is with your PHP install. If it does then there is a problem with the directory.
We can also rule in or out the php.ini file itself by doing an ini_set() on the configuration in the script itself. Include the following
before the call to session_start().
<?php
session_save_path("C:\PHP\sessiondata");
session_start();
?>
If this works then that rules the directory out and places blame on the php.ini file itself.
If that does nothing -
Open up the directory in explorer, rerun the PHP script, if you see a file being created then there is possibly a problem with access privileges. If nothing happens then PHP doesn't have access to the directory at all. It needs read and write access to the directory. That's the 'Share this folder on the network' and 'Allow network users to change my files' settings in the sharing and security tab of the folder.
hth,
Rich
::::::::::::::::::::::::::::::::::::::::::
The Spicy Peanut Project
http://www.spicypeanut.net
::::::::::::::::::::::::::::::::::::::::::