Register now or log in to join your professional community.
session storage is used to get the session storage object. It is similar to local storage but the difference is that local storage has no expiration but session storage expires when user closes the browser window.
<script type="text/javascript">
if(sessionStorage.refresh)
{
sessionStorage.refresh = Number(sessionStorage) +1;
}
else
{
session.Storage.refresh=1;
}
</script>
* Refresh page to increase number of page hit.
* close window then try again.