Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Struts (1)
Windows (1)
XHTML (173)
Other Resources:
What does the EnableViewStateMac setting in an aspx page do?
What does the EnableViewStateMac setting in an aspx page do?
✍: Guest
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.
2008-09-23, 5366👍, 0💬
Popular Posts:
How can I search for data in a linked list? Unfortunately, the only way to search a linked list is w...
What is AL.EXE and RESGEN.EXE? In the previous question you have seen how we can use resource files ...
Can you explain steps in function points? Below are the steps in function points: >First Count ILF, ...
.NET INTERVIEW QUESTIONS - What is the difference between thread and process? A thread is a path of ...
How To Use SELECT Statement to Count the Number of Rows? - Oracle DBA FAQ - Understanding SQL SELECT...