Occurs when the project uses the AppScan scan:
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/80/42/wKiom1c8HI2CSEHPAACvu5RATtI383.png "title=" 3.png " alt= "Wkiom1c8hi2csehpaacvu5ratti383.png"/>
Processing method:
Open the project's Web. config file and add it under <system.web>
<httpcookies httponlycookies="true"requireSSL="true" />
Note that after adding the parameter, if you continue to use HTTP to access, such as login needs to use cookies, then this time is not normal to read the cookie
3. Modify settings for background write cookies cookie. secure = true:
httpresponse response = HttpContext. Current.response;
varcookie =New HttpCookie(Key, value);
cookies. HttpOnly = true;
cookies. Path = "/";
cookie. EXPIRES&NBSP;=&NBSP, < Span style= "margin:0px;padding:0px;" >datetime
cookies. Secure = true;
Response. AppendCookie (cookie);
This article is from "Maple Night" blog, please be sure to keep this source http://fengwan.blog.51cto.com/508652/1774768
The medium secure attribute is missing from the cryptographic session (SSL) Cookie