Software developer can use System.Web.SessionState.HttpSessionState member Clear() which removes all the session items but doesn’t change the current session identifier. Related tutorials: How to use ViewState in VB.NET How to store custom objects in a View state using C# How to find number of items in the current session collection in ASP.NET How to set XHTML 1.1 doctype in ASP.NET 4.0