Collections functions
General functions
Node functions
Render functions
Theme permission functions
User 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.

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 27th July 2024 12:05 Europe/London time based on the source file dated 23rd July 2024 11:50 Europe/London time.