if ( empty($_SESSION["userid"]) || $_SESSION["userid"]=="" )
Bunu dene