查看状态 [英] View State

查看:83
本文介绍了查看状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我知道在一个隐藏的文件中查看状态保存值.

但我的问题是:

我的视图状态是否将一个隐藏字段中的值保存为仅加密???



视图将序列化值,然后对其进行加密?????


谢谢

hema


ASk

Hello ,

 I know View State Save  values in a hidden filed .

  but My Question is :

   does the view State save values in a hidden field  as Ecrypted only ???

    or

    does the view  seralize the values , Then Encrypts it ?????


  Thanks

  hema


ASk

推荐答案

默认情况下,它仅隐藏且为base64,未加密.从.NET 2.0开始,提供了一种通过Web.config加密信息的机制,这是
It is only hidden and base64 by default, not encrypted. As of .NET 2.0 a mechanism is provided for encrypting the information through the Web.config, here's the MSDN Article for it.</a>

Hope this helps.


这篇关于查看状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆