Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

rs_setcookie()

Description

Set a cookie.

Note: The argument $daysexpire is not the same as the argument $expire in the PHP internal function setcookie.
Note: The $path argument is not used if $global_cookies = true

Parameters

ColumnTypeDefaultDescription
$name string
$value string
$daysexpire integer 0
$path string ""
$domain string ""
$secure boolean false
$httponly boolean true

Return

void

This article was last updated 15th June 2021 13:05 Europe/London time based on the source file dated 9th June 2021 12:00 Europe/London time.