bjoern: sessions mit $_session['variable'];

Beitrag lesen

Eigentlich nicht. Hast du auch wirklich $_SESSION['xyz'] geschrieben? PHP unterscheidet nämlich bei Variablen-Definitionen Groß- u. Kleinschreibung.

ok funktioniert, hatte

$_SESSION['userID'] = "$userID";

anstatt

$_SESSION['userID'] = $userID;

jetzt kommt aber die meldung:

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

was muss ich da tun?