mercredi 24 mai 2017

Cookies not sent to tomcat server when ajax call is made from ember server

I have a ember server running on localhost port 4200 and a JAVA backend API server running on localhost port 8080. I use java's jSession for identifying user and for maintaining user sessions. cookies values are set as HTTP only from tomcat server.

Now when i make a AJAX call to Java server running on 8080 from ember running on 4200, cookies set by java session is not sent to the API server. How do i enable the ember to send java set cookies along with the AJAX calls?




Aucun commentaire:

Enregistrer un commentaire