Skip to end of banner
Go to start of banner

httpCreateCookie

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Availability

This routine is available starting with SIL Engine™ 4.1.0.

Syntax

httpCreateCookie(name, value)

Description

Creates an HttpCookie object.

Parameters

Parameter name

Type

Required

Description

name

string

Yes

The name of the cookie.

valuestringYesThe value of the cookie.

Return type

HttpCookie

Example

HttpRequest request;
HttpCookie cookie = httpCreateCookie("sessionId", "298zf09hf012fh2");
request.cookies += cookie;

See also


  • No labels