How do I reset Session from any of these codes ?
Session.Clear(); Session.Abandon();
Hi RichardSa,
Refer below code.
C#
// Clear all. Session.Clear(); Session.Abandon(); // Or clear particular session. Session["Name"] = null;
VB.Net
' Clear all. Session.Clear() Session.Abandon() ' Or clear particular session. Session("Name") = null
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.