ID: 27451 User updated by: hamid at wannameet dot nl Reported By: hamid at wannameet dot nl Status: Open Bug Type: Session related Operating System: FreeBSD PHP Version: 4.3.4 New Comment:
hi idong, i tried your example, but the result i am getting is de de de de with register_globals Off and On Previous Comments: ------------------------------------------------------------------------ [2004-03-02 15:06:54] idong at gmx dot de Seems to me that if it is a special problem of $_SESSION along with session var name 'lang'. Try this: <?php session_start(); echo '<br><br><b>lang test'; $_SESSION['lang'] = 'de'; echo '<br>1 - '.$_SESSION['lang']; $lang = 'en'; echo '<br>2 - '.$_SESSION['lang']; echo '<br><br><b>no_lang test'; $_SESSION['no_lang'] = 'de'; echo '<br>1 - '.$_SESSION['no_lang']; $no_lang = 'en'; echo '<br>2 - '.$_SESSION['no_lang']; ?> What I get is this: lang test 1 - de 2 - en no_lang test 1 - de 2 - de Maybe there are some more variable names one shouldn't use with sessions? ------------------------------------------------------------------------ [2004-03-02 05:35:37] hamid at wannameet dot nl the include files could not be opened because sess_lang was empty, but i changed my error reporting so that it will capture session_id en sess_lang. You will receive the new log file as soon as it has some entries. ------------------------------------------------------------------------ [2004-03-02 03:05:31] [EMAIL PROTECTED] That error log only shows that some files can not be opened, and sessions work fine for almost anybody (we had no other bug reports like this), so can you show something that proves your point in the form of a log? ------------------------------------------------------------------------ [2004-03-01 19:07:07] hamid at wannameet dot nl i have also put the error_log of yesterday in the directory bug_php, for extra info ------------------------------------------------------------------------ [2004-03-01 18:52:19] hamid at wannameet dot nl i'm sorry you can find the files in http://www.wannameet.nl/bug_php/ is an open dir ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/27451 -- Edit this bug report at http://bugs.php.net/?id=27451&edit=1