Ma non è meglio inserire:
Codice PHP:
if (!$_SESSION["idpower"]) 
invece che:
Codice PHP:
if (!$idpower