EnableViewStateMAC defalult value

  • Thread starter Thread starter john
  • Start date Start date
J

john

Is this value default true or false. i've read its true
in two different books and false in MSDN. does anyone
know which it is?
 
You can set it in Page directive or web.config as well.

<pages buffer="true|false"
enableSessionState="true|false|ReadOnly"
enableViewState="true|false"
enableViewStateMac="true|false"
autoEventWireup="true|false"
smartNavigation="true|false"
pageBaseType="typename, assembly"
userControlBaseType="typename"
validateRequest="true|False"/>

Even though docs claim the default is false, it is actually true.See:
http://msdn.microsoft.com/msdnmag/issues/03/02/CuttingEdge/

--
Teemu Keiski
MCP, Designer/Developer
Mansoft tietotekniikka Oy
http://www.mansoft.fi

AspInsiders Member, www.aspinsiders.com
ASP.NET Forums Moderator, www.asp.net
AspAlliance Columnist, www.aspalliance.com
 
Back
Top