Strange is that the same code, the target frame is. If released into the.net framework 2.0, in thousands of cattle and can update cookies
Excuse me,. Net2.0 and. Net4.0 update mechanism of cookies have different places? How to solve this problem?
HttpCookie cookie=Request. Cookies [] "the UserInfo";//remove the original cookies
Cookies. Values. [" Nick "]=dropUser SelectedValue;//update
Cookies. Path="/";
Response. Cookies. The Add (Cookies);//to write here will update fails, cookie. Values (" Nick ") or the value of the original inside (in the browser is able to update, not only in the thousands of cows)
CodePudding user response:
Dear bosses, come and lookCodePudding user response:
Have not used thousands of cattle,Help you top it
CodePudding user response:
. Net2.0 and. What's the difference between net4.0 in update cookies?? But on the browser is can ah, don't understand what's special about the thousands of cattle mechanism, but also call 360 and other external browser thousands of cattle,