session_start(); //phpinfo() ; if (isset($_GET["departement"])) { setcookie('dept_cookie_c','',60); setcookie('dept_cookie_c',$_GET["departement"],60); $_SESSION["dept_s"]=$_GET["departement"]; } if (isset($_COOKIE["dept_cookie_c"]) && isset($_GET["departement"])) { $_SESSION["dept_s"]=$_COOKIE["dept_cookie_c"]; } if (!isset($_COOKIE["dept_cookie_c"]) && !isset($_SESSION["dept_s"])) { header("Location: demande_dep.php"); exit(); } ?>
|
||||||||||||||||||||||||||||||
| La reproduction du site ou de son contenu est interdite sans autorisation préalable. | Réalisation AUXILOG |