Solved

Viewstate and session

Posted on 2014-03-06
2
338 Views
Last Modified: 2014-03-07
Hi,

I want to see the content of ViewState and Session content in my aspx.cs. I can see the counts but not the contents. What to do?

Regards.
0
Comment
Question by:jazzIIIlove
2 Comments
 
LVL 35

Accepted Solution

by:
Miguel Oz earned 500 total points
Comment Utility
For view state you can use:
1)  Fiddler
2) Firefox you can use this add-on
or
3) IE developer tools (IE11)
Grab the view state from the response and then if you need to decode it use:
http://lachlankeown.blogspot.com.au/2008/05/online-viewstate-viewer-decoder.html

For session, you can just watch the following variables in your VS debug mode:
HttpContext.Current.Session.Count
HTTPContext.Current.Session.Contents
or  use the SessionViewHandler described at:
http://www.codeproject.com/Articles/4170/Exploring-ASP-NET-Session-State-and-Cache-data
0
 
LVL 12

Author Closing Comment

by:jazzIIIlove
Comment Utility
Cool!
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now