'Session storage value is not deleting after restore previous session in mozilla firefox?

My application was developed in ASP.NET MVC 5.

I want to delete/clear the session storage when the browser closed and again reopens and clicks on "Restore Previous Session".

Session storage was clear when I opened a new tab but once the browser closed and open with the above-mentioned steps it stays.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source