Hi, I would like to know what is wrong with the code below. The following code will be included on every page with the include command. The variable $language does not seem to be registered at all. it should be registered again on every page. Why this? On the php.ini register_globals is "off" and session.auto_start is "0". Any help would be gratefully appreciated. Thanks and have a nice day, christian -------------------------------- code -------------------------------- session_name("Apache"); if (apache_note("Cookie")) { session_id(apache_note("Cookie")); } session_start(); if (session_is_registered("language")) { $language = ($HTTP_GET_VARS["language"])? $HTTP_GET_VARS["language"]: $HTTP_SESSION_VARS["language"]; } else { session_register("language"); $language = $HTTP_GET_VARS["language"]? $HTTP_GET_VARS["language"]: "d"; } $HTTP_SESSION_VARS["language"] = $language; -------------------------------- code -------------------------------- -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]