{"id":6475,"date":"2014-04-18T06:52:33","date_gmt":"2014-04-18T06:52:33","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/18\/session-cookie-without-httponly-flag-set-collection-of-common-programming-errors-2\/"},"modified":"2014-04-18T06:52:33","modified_gmt":"2014-04-18T06:52:33","slug":"session-cookie-without-httponly-flag-set-collection-of-common-programming-errors-2","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/18\/session-cookie-without-httponly-flag-set-collection-of-common-programming-errors-2\/","title":{"rendered":"Session Cookie without HttpOnly flag set-Collection of common programming errors"},"content":{"rendered":"<p>I have joust built a website with a login system. After I&#8217;ve just got ready I have scanned it with Acunetix, but I got the following message:<\/p>\n<p>Session Cookie without HttpOnly flag set Session Cookie without Secure flag set (i guess this is only if I have SSL connection)<\/p>\n<p>So my question would be, that how can I set HttpOnly flag for all my Session data? I&#8217;m just using sessions when I log in the users. I&#8217;m giving them a session with their userID number and than I&#8217;m getting data using that userID.<\/p>\n<p>Is there any simple way that I can set ALL of the session HTTPOnly and secure them, so noone can touch them?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have joust built a website with a login system. After I&#8217;ve just got ready I have scanned it with Acunetix, but I got the following message: Session Cookie without HttpOnly flag set Session Cookie without Secure flag set (i guess this is only if I have SSL connection) So my question would be, that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6475","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6475"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6475\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}