@ surpresses errors.
A better way to write this block of code is like this
if (!isset($_SESSION['login']) || $_SESSION['login'] != 1)
{
header("Location: loginPage.php");
exit();
}
You should really avoid using @ when testing, and only use it where it could give out server type information like on MySQL functions.