<?php
session_start();
?>

<html><body>
<?php
if(isset($_SESSION['views']))
  $_SESSION['views']=$_SESSION['views']+1;

else
  $_SESSION['views']=1;
echo "Views=". $_SESSION['views']; 
?>
<br/>
<?php echo "<a href=\"session.php\">Reload</a>"; ?>
</body></html>
