Log in
Log in with USB
Inloggen met vingerafdruk wordt binnenkort mogelijk.
The cookies module handles cookies. It can create, read and remove cookies.
webanizr.send('cookies', data, parameters, callback);
The data that needs to be stored in the cookie.
The cookies module accepts the following parameters:
The name for the cookie.
This parameter tells the module what to do. The following options are available:
If this parameter is not set, the "set" option is performed.
The number of days this cookie may exist. If no value is set, the cookie wil remain active for 30 days.
The path the cookie applies to. In no value is set, the root path (/) is used.
The path the cookie applies to. In no value is set, the root path (/) is used.
The SameSite flag. Can be valued Strict, Lax, or None. If no value is set, "Lax" is used.
The HttpOnly flag. Will be set if the value of this parameter is set, and has the value true
The Secure flag is automatically set depending on the protocol type of the document itself.
The callback function is called after setting / removing the cookie. The data is received by the send function is passed on.
webanizr.collect('cookies', parameters, callback);
The cookies module accepts the following parameters:
The name of the cookie you want the content of.
The callback is called with the content of the cookie as data. If the cookie is not found or expired, the value null is passed on.
Creating, reading and removing cookies: