SBM ModScript Reference → Programming SBM ModScript → Extension Functions → Ext.SetCookie()
Allows SBM ModScript to set HTTP cookies.
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. |
Type | Description |
---|---|
bool |
Returns true if the cookie is successfully added or modified; false otherwise. |
SBM ModScript version: 11.3.
Name-values are returned by Shell.HTTPCookie() in the form "Name=Value" or "CookieName=CookieValue." For details, refer to HTTP Request Header Shell Properties.
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.