Gen. partnerAlgotech

PHP function setrawcookie()

Send a cookie without urlencoding the cookie value

|
September 11, 2019

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.

Other resources

Official setrawcookie documentation

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.