<?php
unset($_SESSION['counter']);
?>
<?php
// Destroy the currently active session.
session_destroy();
?>
Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1));
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetNoStore();
Session.Abandon();
Session.Clear();