Weird with ajax request to external domain and cookies

Discussion in 'JavaScript Forum' started by Twix, Apr 9, 2013.

  1. Twix

    Twix New Member

    Lets say I login into and that creates a few cookies for me on the domain. Then I go to and in the javascript of the site I make a JSONP request to The weird thing I am noticing is that the cookies for are sent along with the request that originated on (I thought would not have access to cookies).Is this valid behavior for modern browsers (tested with chrome)?Would it be possible for to actually gain access the cookie data that seems to be automatically sent with the request to (through inspecting the request or something)?

Share This Page