Answers for "why clear session"

PHP
3

clear session php

<?php
   unset($_SESSION['counter']);
?>
Posted by: Guest on June-30-2020
0

Remove Session

Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1));
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetNoStore();
Session.Abandon();
Session.Clear();
Posted by: Guest on April-21-2022

Browse Popular Code Answers by Language