Session problem

I have tried using the session command with little sucess. I have two pages session1.php and session2.php and links back and forth between the two. The variable should increase each page but it doesn’t. I am not sre what I am doing wrong. Here is the code


<?php @session_start();?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD></head><body>


<?php

if(isset($_SESSION['views']))
{
 $ss=$_SESSION['views'];
$ss=$ss+1;
$_SESSION['views']=$ss;
}
else
    $_SESSION['views'] = 1;

echo "views = ". $_SESSION['views']; 


?>
<a href="session2.php">page 2</a>

</BODY>
</HTML> 

What does session2.php contain? Same thing?

Yes session2.php contains roughly the same thing except session2.php links back to session1.php

Try taking the @ out of in front of session_start and see if it kicks an error at you?

plz start the session on the session2.php page as well…