HowtoASP.NET
Skip to content
  • Tutorials
    • How To Send Email in ASP.NET
    • How to create Web Service in ASP.NET
    • How to create new aspx web page
    • How to use pager in GridView control
    • How to refresh a page in ASP.NET
  • ASP.NET Books
  • ASP.NET Hosting
  • Developers
  • Reference
  • Glossary

How to remove all session items in ASP.NET

Software developer can use System.Web.SessionState.HttpSessionState member Clear() which removes all the session items but doesn’t change the current session identifier.

Best VPN for Developers

Related tutorials:

  1. How to use ViewState in VB.NET
  2. How to store custom objects in a View state using C#
  3. How to find number of items in the current session collection in ASP.NET
  4. How to set XHTML 1.1 doctype in ASP.NET 4.0
Categories: ASP.NET Tags: asp.net 2.0, asp.net 3.5, asp.net 4.0
Post navigation
← How to find number of items in the current session collection in ASP.NET CheckBox class properties and its descriptions →
Best VPN

Categories

  • ASP.NET
  • For Beginners
  • VB.NET
  • C#
  • MVC
  • Ajax
  • Web Forms
  • Database
    • SQL Server
    • ADO.NET
    • LINQ
    • Access
  • Mobile
  • Security
  • Web Hosting
  • CSS
  • HTML
  • Errors

Most Popular

  • Best ASP.NET Hosting
  • Best ASP.NET Books
  • How to send email
  • How to create Web Service
  • How to create new aspx web page
  • How to use pager in GridView control
  • How to refresh a page
Contact Us | Privacy Policy | Terms

Last Updated 06/17/2025

© 2025 HowtoASP.NET - ASP.NET Tutorials with Examples - All Rights Reserved.

All trademarks are property of their legal owners.
We use cookies to give you the best experience on our website.I accept