-
-
Notifications
You must be signed in to change notification settings - Fork 3
flbeta_function_setCookie
Wesley de Groot edited this page Nov 5, 2017
·
20 revisions
_
(_)
_ _____
| | / ____|
| | | (___
_ | | \___ \
______ _ | |__| | ____) |
|______| (_) \____/ |______/
v0.1.0 Beta
Set cookie data
This function is only for websites
Type | @var | Description | Required |
string | name | cookies name | Required |
string | value | cookies value | Required |
string | [path] | path (default: /) | Optional |
string | [domain] | domain (default .domainname.extension) | Optional |
bool | [secure] | secure cookie? (default: false) [JS Can't read secure cookies!] | Optional |
_.setCookie('Cookiemonster', 'Cookiemonster is cool')
null
[Back to function list](https://github.com/wdg/_.js/wiki/Function%20List%20(Beta))
© Wesley de Groot • CC-BY 4.0 • WDGWV