#23465 [Com]: session.bug_compat_42 and session.bug_compat_warn needs better docs
| From: | nitroburn at comcast dot net | Date: | Sun, 02 May 2004 22:01:21 +0000 |
| Subject: | #23465 [Com]: session.bug_compat_42 and session.bug_compat_warn needs better docs | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969360423@lists.php.net to get a copy of this message | ||
ID: 23465
Comment by: nitroburn at comcast dot net
Reported By: jhlavon at email dot cz
Status: Assigned
Bug Type: Documentation problem
Operating System: all
PHP Version: 4.3.3
Assigned To: nlopess
New Comment:
i turned my register globals on and it is still producing
this error message. i changed it in my apache and cli-php4
folder's ini s .....what can I do...does this mean that my
code is incorrect or do I just need to disable the
compatability warning like it says?
thanks for the help
Jim Porter
nitroburn@comcast.net
Previous Comments:
------------------------------------------------------------------------
[2004-02-29 06:16:39] nlopess@php.net
I'll also take care of this one.
------------------------------------------------------------------------
[2003-07-18 01:33:41] philip@php.net
Added brief docs (as per php.ini-dist) for these at php.net/session but
am leaving this open until this strange mystery is better documented.
Anyone, feel free :)
http://cvs.php.net/cvs.php/phpdoc/en/reference/session/ini.xml
The whole session section needs an overhaul but that's another story.
------------------------------------------------------------------------
[2003-05-03 10:52:55] jhlavon at email dot cz
When I setup "register_globals=off", PHP script produces warning, which
isn't explained in documentation, same as probably next "hidden" setup
options.
Best regards, Jiri
Message:
Warning: Unknown(): Your script possibly relies on a session
side-effect which existed until
PHP 4.2.3. Please be advised that the session extension does not
consider global variables as
a source of data, unless register_globals is enabled. You can disable
this functionality and this
warning by setting session.bug_compat_42 or session.bug_compat_warn to
off, respectively. in
Unknown on line 0
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23465&edit=1