How can I set the cookies in my PHP apps as HttpOnly cookies?
PHP apps
HttpOnly cookies
<?php //None HttpOnly cookie: setcookie("abc", "test", NULL, NULL, NULL, NULL, FALSE); //HttpOnly cookie: setcookie("abc", "test", NULL, NULL, NULL, NULL, TRUE); ?>
Source