ph_setwebcookie PowerHome formula function
Description
Sets a web cookie within the PowerHome web server.
Syntax
ph_setwebcookie ( name, value, path, domain, expires )
Argument |
Description |
name
|
String. The name of the cookie.
|
value
|
String. The value to assign to the cookie.
|
path
|
String. An optional path parameter for the cookie.
|
domain
|
String. An optional domain parameter for the cookie.
|
expires
|
Double. An optional parameter for setting the expiration of a cookie. The expiration date will be calculated using this parameter in minutes from the current time.
|
Return value
Integer. Returns 0.
Usage
This function only has meaning when run from within the context of a PowerHome PSP page.