CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
不看会后悔的Windows XP之经验谈 简单快捷DIY实用家庭影院
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  .NET技术 >  ASP.NET

各位高手,enableViewStateMac有何作用?

楼主Gorgee(凭阑悄悄)2004-04-03 22:13:11 在 .NET技术 / ASP.NET 提问

RT 问题点数:20、回复次数:3Top

1 楼saucer(思归)回复于 2004-04-03 22:17:31 得分 20

from   MSDN   documentation  
   
   
  EnableViewStateMac    
   
  Indicates   that   ASP.NET   should   run   a   machine   authentication   check   (MAC)   on   the   page's   view   state   when   the   page   is   posted   back   from   the   client.   true   if   view   state   should   be   MAC   checked;   otherwise,   false.   The   default   is   false.  
   
  Note       A   view   state   MAC   is   an   encrypted   version   the   hidden   variable   that   a   page's   view   state   is   persisted   to   when   sent   to   the   browser.   When   you   set   this   attribute   to   true,   the   encrypted   view   state   is   checked   to   verify   that   it   has   not   been   tampered   with   on   the   client.  
  Top

2 楼saucer(思归)回复于 2004-04-03 22:18:47 得分 0

actually,   I   think   the   documentation   is   wrong,   "The   default   is   true"Top

3 楼Gorgee(凭阑悄悄)回复于 2004-04-03 22:35:12 得分 0

多谢死鬼大哥,我的.net中默认是false!Top

相关问题

  • 如何理解bean在数据库连接中的作用?各位大哥
  • 请问一下各位PB FANS,PB中的自定义事件中的extenal选项有何作用?
  • 如何在pb6.5中建一个proxy,它有什么作用呢,请教各位大虾!
  • 各位高手帮看一下这个API函数如何声明及其作用
  • 如何作用API
  • #pragma有何作用
  • retf是何作用
  • CMutex有何作用?
  • EnableViewStateMac
  • 请各位高手看看,这个acmFormatChoose()怎么不起作用?

关键词

  • view
  • mac
  • client
  • view state
  • encrypted
  • checked
  • default
  • page
  • true

得分解答快速导航

  • 帖主:Gorgee
  • saucer

相关链接

  • CSDN .NET频道
  • .NET类图书
  • C#类图书
  • .NET类源码下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2008, CSDN.NET, All Rights Reserved
GongshangLogo