I've fixed the problem.
I don't know why, but suddenly windows prevents PHP from writing into
C:\windows\temp directory.
Moving the session and log files to another directory solved the problem.
Until few days ago it worked. I've now to discovered what was changed in
windows configuration.
""Walter Caielli"" ha scritto nel messaggio
news:bd.40.31041.b7a60...@pb1.pair.com...
> I'm facing the following basic problem:
>
> I have made two simple sample files to explain it:
>
> 1st file:
>session_start();
>$_SESSION['SS_user'] = "user000";
> echo $_SESSION['SS_user'];
> echo SID;
> echo "".session_id();
> echo 'page 1';
> ?>
>
> 2nd file
>session_start();
> echo "file Home";
> echo session_name().'+'.session_id();
> echo $_SESSION['SS_user'];
> ?>
>
> $_SESSION seems to be empty. Nothing is print. Session Name and session ID
> are the same but it seems that $_SESSION is not shared across the two
> files. No HTML is made before sessioni_start().
> Why?
> I'm using PHP 5.3.4 on IIS, windows XP SP3. Tested as localhost or from
> another PC inside a LAN.
>
> Many thanks
> Walter
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php