(1)错误页面路径:
l ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.NETDEVFX.v20.en/dv_ASPNETgenref/html/4b0f6078-4824-4fc8-a5ee-4ae00ee3ceec.htm
l http://msdn2.microsoft.com/en-us/library/ms164660.aspx
(2)页面内容:
Configures an application for role management.
This element is new in the .NET Framework version 2.0.
|
<roleManager cacheRolesInCookie="true|false" cookieName="name" cookiePath="/" cookieProtection="All|Encryption|Validation|None" cookieRequireSSL="true|false " cookieSlidingExpiration="true|false " cookieTimeout="number of minutes" createPersistentCookie="true|false" defaultProvider="provider name" domain="cookie domain">(错误在此) enabled="true|false" maxCachedResults="maximum number of role names cached"(错误在此) <providers>...</providers> </roleManager> |
(3)简要说明:
在<roleManager>的声明代码中,属性domain="cookie domain",后不应该接右尖括号(>)。这是一个错误。应该是放错位置了,因为,前始的<roleManager>没有结束的右尖括号(>)。