| |||||||||||||||
<httpCookies> SectionASP.NET Syntax ASP.NET Configuration Sections Configures properties for cookies used by a Web application. <httpCookies domain = "String" httpOnlyCookies = "true | false" requireSSL = "true | false" /> Attributes and ElementsThe following sections describe attributes, child elements, and parent elements. Attributes
Child ElementsNone. Parent Elements
RemarksInternet Explorer added support in Internet Explorer 6 SP1 for a cookie property called HttpOnlyCookies that can help mitigate cross-site scripting threats that result in stolen cookies. When a cookie that has HttpOnlyCookies set to true is received by a compliant browser, it is inaccessible to client-side script. For more information on possible attacks and how this cookie property can help mitigate them, please see Mitigating Cross-Site Scripting with HTTP-Only Cookies. Default ConfigurationThe following default httpCookies element is not explicitly configured in the machine configuration file or in the root Web.config file, but is the default configuration returned by an application in the .NET Framework version 2.0. <httpCookies httpOnlyCookies = "false" requireSSL = "false" domain = "" /> ExampleThe following example configures cookies for an ASP.NET application. <httpCookies httpOnlyCookies = "false" requireSSL = "false" /> See AlsoASP.NET Configuration HttpCookiesSection Class |
| ||||||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme