Does jQuery send cookies in a post?

cookies, jquery, post

Solution

Cookies are sent with Ajax requests.

When the HTTPOnly flag is set for a cookie, this cookie is hidden from client-side scripts, but the cookie is still sent with Ajax requests.

Problem

I want to know if, when I make a $.post(...) with jQuery, is any cookie sent to the server in the post request? Thanks!

Original source

Related problems