Please refer to the following error: Yourscriptpossiblyreliesonasessionside-affected twhich.
Source: Internet
Author: User
Ask an exception: Yourscriptpossiblyreliesonasessionside-encryption twhich... for details, see Warning: & nbsp; Unknown: & nbsp; Your & nbsp; script & nbsp; possibly & nbsp; re for an exception: your script possibly relies on a session side-effect which...
The detailed information is:
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
I search for information online. most of the answer is not to use the session_register () method.
In this case, I did not use the session_register () method at all. I directly used the $ _ SESSION ['XX'] = $ XX method. this warning still appears. how can I solve this problem?
------ Solution --------------------
View the session section configuration in php. ini.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service