francisco 4 years ago

It is used to get browser cookies, but I can't see no useful usage for it since there is no SETCOOKIE function.

An example usage is to create a cookie with Javascript and use the function to get the cookie created - but you could get the cookie with Javascript too, which makes the function useless.

comment