Back to Questions

How can you detect if a viewstate has been tampered?

Your Answer

  • 12/18/2012 3:37:24 PM
  • Biju
  • 1

How can you detect if a viewstate has been tampered?

By setting the EnableViewStateMac to true in the @Page directive. This attribute checks the encoded and encrypted viewstate for tampering.

  • 12/18/2012 3:37:44 PM
  • test

Back to Questions