hi folks

i'm just about to experiment with the new handling of session vars 
($_SESSION[...]). now if i start with

session_start();
$_SESSION["remember_me"] = "steff";
session_save_close(); // tested with and without this function call

, the var value won't be set correctly. on a following page

print($_SESSION["remember_me"]);

doesn't print anything. even a

print_r($_SESSION);

only shows Array (). i admit i am fairly confused by information on 
register_globals (which is set to on in my php.ini) etc.

up to now i have worked with

session_start();
$remember_me = "steff";
session_register("remember_me");

which still works great. i'm working on w2k/php4.1.2/apache1.3.22. the 
session.[...] settings in my php.ini correspond those in 
php.ini-recommended.

i read about a bug(?) in connection with php4.1.2. and IIS5 
(http://www.php.net/manual/en/ref.session.php, posted on 01-Apr-2002). 
any known problems with apache (or php itself)? updating to 4.2 is no 
alternative (as posted on 07-Apr-2002 on the same page) since i have to 
respect some provicer-side dependencies ;-)

TIA for your comments

steff


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to