jquery - Safari not sending Cross Sub-Domain Cookie -


we have website > main.example.com

we have mobile site > mobile.example.com

our cookie domain > .example.com

our mobile website client-side (backbone) heavy app makes $.ajax our main website.

now safari , chrome both not send cookie alongside ajax requests. can see cookie stored in storage using developer tools browsers fail recognize , doesn't include them in requests.

any ideas?

i had trouble few month developing site uses backbone.js , consumes restful api via cors. learned cors request not send cookies default, have tell javascript send in request well.

all have pass xhrfields options $.ajax request

 xhrfields: {withcredentials: true} 

Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -