Function zp_setCookie
Sets a cookie both in the browser cookies and in $_SESSION[]
string |
$name |
The 'cookie' name |
string |
$value |
The value to be stored |
timestamp |
$time = NULL |
The time delta until the cookie expires |
string |
$path = NULL |
The path on the server in which the cookie will be available on |
boolean |
$secure = false |
true if secure cookie |