cookieについて

HttpOnlyがtrueの場合、そのcookieはクライアントサイドでjavascriptによる取得ができない。 行動履歴ログをタグ埋め込みで取得する際は要注意。

qiita.com