ID:               40973
 Updated by:       [EMAIL PROTECTED]
 Reported By:      krassesache at gmx dot net
-Status:           Open
+Status:           Bogus
 Bug Type:         Session related
 Operating System: WinXP SP2
 PHP Version:      5.2.1
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

session.referer_check is used to see if a substring is present in the
referrer, its not a boolean flag.


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

[2007-04-05 00:39:01] krassesache at gmx dot net

okay,
no firewall / windows firewall is off

phpinfo() of my localhost: http://blakkcooper.de/phpinfo.php.html
you see session.referer_check is set to "no value". no matter if i set
it to "0" or "1", the sessions don't work. it works only with "no
value".

i tested the example again and this happened:

opened http://localhost --> no session established (normal)
opened http://localhost/foobar.php --> new session established
opened http://localhost/foobar2.php --> a NEW SESSION was established
(news SESSID)

i tested this with firefox 2.0.0.2, opera 9.02 and
session.referer_check = 0
it's nuts! my example works sometimes, sometimes not?! it seems that 
it's random... on my website it works NEVER. it's like god will fuck me
up -.-

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

[2007-04-04 18:46:53] [EMAIL PROTECTED]

Please provide some more information on your environment: the webserver
used, server API (cgi or module).
Do you have any firewalls that might affect it?
Are you sure the code provided is enough to reproduce it? 

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

[2007-04-04 18:31:36] krassesache at gmx dot net

okay, dont know why but in my case it's the reason. maybe a very
specific problem. never mind...

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

[2007-04-04 18:06:53] [EMAIL PROTECTED]

Works perfectly fine whatever I do and doesn't depend on the value
ofsession.referer_check. 

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

[2007-04-04 16:24:42] krassesache at gmx dot net

ich got it!!!

if i set

session.referer_check = 1
session.referer_check = 0

in php.ini, the problem appears
if i set it to

session.referer_check = 

the session will work?!

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

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/40973

-- 
Edit this bug report at http://bugs.php.net/?id=40973&edit=1

Reply via email to