Viewstate tampering

KaranGupta
KaranGupta used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Yes. For that EnableViewStateMAC=true  should be set @Page directive.  Refer http://www.testingreflections.com/node/view/3424 for more details.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial