What does the EnableViewStateMac setting in an aspx page do?

Answer

Setting EnableViewStateMac=true is a security measure that allows ASP.NET to ensure that the
viewstate for a page has not been tampered with. If on Postback, the ASP.NET framework detects that
there has been a change in the value of viewstate that was sent to the browser, it raises an error -
Validation of viewstate MAC failed.
Use <%@ Page EnableViewStateMac="true"%> to set it to true (the default value, if this attribute is
not specified is also true) in an aspx page.

All javascript Questions

Ask your interview questions on javascript

Write Your comment or Questions if you want the answers on javascript from javascript Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---