Without withCredentials flag (an xhr setting), the browser does not submit cookies to the cross domain server therefor request fails because of invalid session. One can do this in jquery like below but I am not able to figure out how I can set this flag for ajax requests initiated by SmartClient data source.
Code:
$.ajax( { xhrFields: { withCredentials: true } });
Comment