<? session_start(); if(!isset($_SESSION["firsttime"])){ $_SESSION["firstime"]=1; header ("Location: ".$_SERVER['PHP_SELF']); exit; } ?>