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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top