ChunkingCookieManager.AppendResponseCookie Method (IOwinContext, String, String, CookieOptions)
Appends a new response cookie to the Set-Cookie header. If the cookie is larger than the given size limit then it will be broken down into multiple cookies as follows: Set-Cookie: CookieName=chunks:3; path=/ Set-Cookie: CookieNameC1=Segment1; path=/ Set-Cookie: CookieNameC2=Segment2; path=/ Set-Cookie: CookieNameC3=Segment3; path=/
Namespace: Microsoft.Owin.Infrastructure
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
public void AppendResponseCookie(
IOwinContext context,
string key,
string value,
CookieOptions options
)
public:
virtual void AppendResponseCookie(
IOwinContext^ context,
String^ key,
String^ value,
CookieOptions^ options
) sealed
abstract AppendResponseCookie :
context:IOwinContext *
key:string *
value:string *
options:CookieOptions -> unit
override AppendResponseCookie :
context:IOwinContext *
key:string *
value:string *
options:CookieOptions -> unit
Public Sub AppendResponseCookie (
context As IOwinContext,
key As String,
value As String,
options As CookieOptions
)
Parameters
- context
Type: Microsoft.Owin.IOwinContext
- key
Type: System.String
- value
Type: System.String
- options
Type: Microsoft.Owin.CookieOptions
Implements
ICookieManager.AppendResponseCookie(IOwinContext, String, String, CookieOptions)
See Also
ChunkingCookieManager Class
Microsoft.Owin.Infrastructure Namespace
Return to top