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..
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Rajarajan15 reputationPosted Feb 20, 2015, 12:21 AM EST
Prasham SabadraRank #116 · 19.3K reputationPosted Feb 19, 2015, 11:23 PM EST
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.
Hari Krishna93 reputationPosted Feb 19, 2015, 11:49 PM EST
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