Ext.SetCookie()

Allows SBM ModScript to set HTTP cookies.

Function Signature

 bool Ext.SetCookie( sNameValue )

Parameters

Parameter Type Description

sNameValue

string

Use this parameter to add a cookie name that does not exist or update the value of a cookie name that exists.

Return

Type Description

bool

Returns true if the cookie is successfully added or modified; false otherwise.

Technical Details

SBM ModScript version: 11.3.

Notes

Name-values are returned by Shell.HTTPCookie() in the form "Name=Value" or "CookieName=CookieValue." For details, refer to HTTP Request Header Shell Properties.

Related Topics

Extension Functions