Announcement
Collapse
No announcement yet.
X
-
This was added about 3 years ago, in 2015. You will need at least 10.1, but it would be a very bad idea to do new development on anything other than the latest release version.
-
Sending ajax request to cross domain (https) from page loaded over http
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 } });Tags: None
Leave a comment: