ASPxClientUtils.SetCookie(name, value) Method
In This Article
Creates or updates the HTTP cookie for the response.
#Declaration
TypeScript
static SetCookie(
name: string,
value: string,
expirationDate?: Date
): void
#Parameters
Name | Type | Description |
---|---|---|
name | string | A string value that represents the name of a cookie. |
value | string | A string representing the cookie value. |
expiration |
Date | A date-time object that represents the expiration date and time for the cookie. |
#Remarks
Note
Refer to the RFC 2965 - Section 4.
See Also