PHP function setrawcookie()
Availability in PHP 5.0
Send a cookie without urlencoding the cookie value
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$name |
string |
not | |
$value |
string |
null, | |
$expire |
int |
null, | |
$path |
string |
null, | |
$domain |
string |
null, | |
$secure |
bool |
null, | |
$httponly |
bool |
null |
Return values
bool
Returns true on success, otherwise false on failure.