Viewstate tampering

Whenever a post back occurs, this hash code is recalculated and checked with the one that is stored in the __ViewState hidden field of the form.  It they do not match, the page is rejected, thus ensuring that the ViewState is not tampered.


Is it the correct explaination
KaranGuptaAsked:
Who is Participating?
 
Easwaran ParamasivamCommented:
Yes. For that EnableViewStateMAC=true  should be set @Page directive.  Refer http://www.testingreflections.com/node/view/3424 for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.