What is EnableViewStateMAC?

Home Forums Web Development ASP.Net What is EnableViewStateMAC?

This topic contains 0 replies, has 2 voices, and was last updated by  Pavan 7 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #3455


    What is EnableViewStateMAC?



    Its a page directive attribute that is used for security point.

    true if the view state should be MAC checked and encoded; otherwise, false. The default is true.
    A view-state MAC is an encrypted version of the hidden variable that a page’s view state is persisted to when the page is sent to the browser. When this property is set to true, the encrypted view state is checked to verify that it has not been tampered with on the client.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.