session_start(); if(!session_is_registered('lang')) { session_register('lang'); $_SESSION['lang']='fr'; } else { if(isset($_GET['lang'])) { $_SESSION['lang']=$_GET['lang']; } } ?>