Click or drag to resize

CookieExtensionsAddCookie Method

Overload List
  NameDescription
Public methodStatic memberAddCookie(HttpResponse, HttpCookie, String)
Add a cookie to the response.
Public methodStatic memberAddCookie(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.
Public methodStatic memberAddCookie(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.
Top
See Also