Tag Archives: ViewState

How to remove ViewState from ASP.NET web page and save in Session using SessionPageStatePersister

By | April 28, 2011

By default ViewState is saved inside the web page. In ASP.NET using SessionPageStatePersister ViewState can be saved inside Session instead. This helps in securing the ViewState as well as reducing the size of the web page

How EnableViewStateMAC Makes ViewState Secure ?

By | February 24, 2011

The ASP.NET ViewState is a client side state management mechanism. The ViewState is stored in a hidden field with an ID __VIEWSTATE. Typically, stored ViewState information looks like: ViewState value looks likes an encrypted string. This is nothing but a Base64 encoded string, and is not an encrypted string. So it can be easily decoded. The main reasons… Read More »