Cookie specific methods.
More...
Cookie specific methods.
Engine / Tool Library
- Author
- CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m
- Version
- 1.0.1
- Date
- Creation: Oct 2007
-
Modification: Apr 2018
- Copyright
- 2007 - 2018 CaMykS Team
- Note
- This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
◆ cookie_get()
Read a cookie.
- Parameters
-
- Returns
- mixed
◆ cookie_save()
cookie_save |
( |
|
$name, |
|
|
|
$value, |
|
|
|
$ttl = 0 |
|
) |
| |
Write a cookie.
- Parameters
-
string | $name | |
mixed | $value | |
int | $ttl | (in days) |
- Returns
- boolean
◆ cookie_extendTTL()
cookie_extendTTL |
( |
|
$name, |
|
|
|
$ttl = 0 |
|
) |
| |
Extend cookie time to live.
- Parameters
-
string | $name | |
int | $ttl | (in days) |
- Returns
- boolean