WriteCookie method

This method is used to send a cookie back as part of the response. When called, the cookie with the name, Name, will be set to have the value, Value.

Syntax


C++

HRESULT WriteCookie(
BSTR Name,
BSTR Value
)

Scripting languages

Object.WriteCookie(Name as String, Value as String)

Parameters


Name

The name of the cookie.

Value

The value for the cookie field.

Return value


C++

The return code.

Scripting languages

None

Home

Applies to
IERUSEvent_Authenticate_After

IERUSEvent_Authenticate_Before

IERUSEvent_CheckPassword_After

IERUSEvent_CheckPassword_Before

IERUSEvent_SiteLogout

IERUSEvent_TicketAuthenticate