Jump to content

Your script possibly relies on a session side-effect which existed until PHP 4.2


akrashdi

Recommended Posts

Hi,

 

I'm coding a small application which uses $_SESSION[] variables to pass and use variables across the pages, the code seems to work fine except I'm getting the following error 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

 

This makes me afraid about using $_SESSION[] variables to pass variables between pages.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.