lundi 23 juin 2008
Probleme de Session
Par karando, lundi 23 juin 2008 à 11:13 :: PHP - Developpement libre
Quelque fois vous avez un message qui apparait : 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
Pour corriger ce message il existe une commande en php la voici :
ini_set('session.bug_compat_42',0);
ini_set('session.bug_compat_warn',0);
L'autre solution est dans le htaccess
php_flag session.bug_compat_42 0 php_flag session.bug_compat_warn 0