[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-windows
Subject:    RE: [PHP-WIN] Sessions and Global Variables
From:       "Svensson, B.A.T. " <B.A.T.Svensson () lumc ! nl>
Date:       2001-10-30 20:05:40
[Download RAW message or body]

Maybe because that bloody *(%$&*()^@$#^ IIS need to be restarted before
changes will take affect - at least that holds true for ASP when fiddling
with the global.asp file. (Some one ought to be shoot...)

Cheers

>-----Original Message-----
>From: SCOTT.NOVINGER@airborne.com [mailto:SCOTT.NOVINGER@airborne.com]
>Sent: Tuesday, October 30, 2001 8:55 PM
>To: php-windows@lists.php.net
>Subject: [PHP-WIN] Sessions and Global Variables
>
>
>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
>scott.novinger@airborne.com

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic