session_start(); global $ss_authenticated; if (!session_is_registered("ss_authenticated") || (!$ss_authenticated)) { header ("Location: index.phtml?message=".urlencode("Vous n êtes pas authentifié")); exit(); /* capital sinon execute quand même le code plus bas !!!! */ } ?>