当前位置:编程学习 > C#/ASP.NET >>

asp.net CommunityServer中的wwwStatus

答案:

wwwStatus (default = Remove)
Three supported values: Require, Remove, Ignore
Require validates the current Url uses www. (ie, http://www.communityserver.org)
Remove validates the current Url does not contain www.
Ignore does not validate the request

\大概意思是:
有3个属性:Require, Remove, Ignore。使用Require意味着必须使用www;使用Remove则意味着如果使用www.zhaoxi.net则会自动跳为zhaoxi.net;而使用Ignore则以为着不处理。

上一个:asp.net 生成数字和字母组合的随机数
下一个:asp.net 数据访问层基类

CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,