This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Actually I am doing a single sign in two different domains, after successful logged in, whenever mobile browser communicating with one domain, we have to send the background request (AJAX call) with cookie to other domain to keep the session alive. In case of form submission browser able to manage the cookies for the domain and send in request. However AJAX call fails to send the cookies.
Joined: Nov 08, 2001
Ajax can not be used to talk to a second domain. Same Origin Policy [unless the browser supports CORS].