tags:

views:

20

answers:

1

I've just tested this and it seems that Ajax requests send the cookie header from the browser to the server each time. Is this a guaranteed behaviour which I can rely on, or is it something which may or may not happen?

+1  A: 

Ajax is just a "way" to generate HTTP request. It is still a browser doing it so it will follow browser "rules". Can never be 100% sure but I would say yes.

Zepplock