Identify the session variables and its values in .Net
I am working in a project where lots of session variables are used in VB.Net code across all the web pages, So at times i get confuse what value may be stored in a particular session variable. Please provide me a solution to find the list of session variables used in a web page along with its values. Appreciate your help.. Thanks..
RajarajanPosted Feb 20, 2015, 5:21 AM
Hari KrishnaPosted Feb 20, 2015, 4:49 AM
try the below link u will get all the session variables and its values
http://www.beansoftware.com/ASP.NET-FAQ/Session-Variables-Values.aspx
Prasham SabadraPosted Feb 20, 2015, 4:23 AM
Session variables are stored in a SessionStateItemCollection object that is exposed through the HttpContext.Session property. In an ASP.NET page, the current session variables are exposed through the Session property of the Page object.