CookieExtensionsAddCookie Method |
Name | Description | |
---|---|---|
AddCookie(HttpResponse, HttpCookie, String) |
Add a cookie to the response.
| |
AddCookie(HttpResponse, String, String, String, Int32) |
Create a cookie and add it to the response. Note that you should use AddCookie(HttpResponse, String, String, CookieAttrs, String, Int32)
if the cookie should be Secure or if the cookie value might contain characters invalid in a cookie value.
| |
AddCookie(HttpResponse, String, String, CookieAttrs, String, Int32) |
Create a cookie and add it to the response.
You should specify Encoded if the cookie value might contain characters invalid in a cookie value.
Use GetEncodedCookieValue(HttpRequest, String) when retrieving values from encoded cookies.
Specify Secure if the cookie should be Secure.
|