Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on What is the use of Viewstatemac? within the ASP.NET forums, part of the Web Development category; What is the use of Viewstatemac.. What will happen if I set the value to True...
|
|||||||
|
|||
|
Re: What is the use of Viewstatemac?
Quote:
Basically it is used to check if user has changed (tempered) the viewState and making request. If we will set EnableViewStateMac to True then, the encoded and encrypted view state is checked to verify that it has not been tampered with on the client. You can find more information at MSDN ViewStateMac Property ---V V--- Vikas Vaidya Please mark this post with Thanks if u found the answer useful |
|
|||
|
Re: What is the use of Viewstatemac?
Hello,
A view state MAC is an encoded version of the hidden variable that a page's view state is persisted to when sent to the browser. When you set the EnableViewStateMac attribute to true, the encoded and encrypted view state is checked to verify that it has not been tampered with on the client. It is recommended to set the EnableViewStateMac attribute to true using the @ Page directive in the .aspx file. I hope this information is enough for you. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|