Hello, I am running IIS 5.0, PHP 4.0.6, and MySQL 3.23.
I have a script that includes the following two lines: $script = getenv ("SCRIPT_NAME"); and, session_start ( ); Apparently, sessions are not working because I am receiving an error back that is indicative of this. I checked track_vars and register_globals. I know that track_vars is automatically enabled for my version of PHP and also that register_globals is "On". I can also substitute "SCRIPT_NAME" with $PHP_SELF and the script works. However, sessions are still not working. I've tested the script using Apache and everything works just fine. I know that these variables are created by the Apache webserver, however, does IIS also create these? If so, how are they enabled? Could someone who's a lot more knowledgeable than myself please provide me with a clue for why sessions on IIS are not working? And more specifically, how to get it working? I'll provide all additional information that you need... free of charge ; - ) Thank you, Scott [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]