ID:               27451
 Comment by:       idong at gmx dot de
 Reported By:      hamid at wannameet dot nl
 Status:           Open
 Bug Type:         Session related
 Operating System: FreeBSD
 PHP Version:      4.3.4
 New Comment:

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?


Previous Comments:
------------------------------------------------------------------------

[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

------------------------------------------------------------------------

[2004-03-01 18:48:40] hamid at wannameet dot nl

you can find an example in a frameset on

http://www.wannameet.nl/bug_php/index.inc

http://www.wannameet.nl/bug_php/output.inc



rename the files to .php

------------------------------------------------------------------------

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

Reply via email to