akrashdi Posted February 18, 2009 Share Posted February 18, 2009 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. Link to comment https://forums.phpfreaks.com/topic/145745-your-script-possibly-relies-on-a-session-side-effect-which-existed-until-php-42/ Share on other sites More sharing options...
PFMaBiSmAd Posted February 18, 2009 Share Posted February 18, 2009 http://www.phpfreaks.com/forums/index.php/topic,237683.msg1107121.html#msg1107121 Link to comment https://forums.phpfreaks.com/topic/145745-your-script-possibly-relies-on-a-session-side-effect-which-existed-until-php-42/#findComment-765190 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.