Which two methods are used for handling Cross-Domain Ajax Calls ?

 Posted by Rajkatie on 5/16/2012 | Category: ASP.NET AJAX Interview questions | Views: 7852 | Points: 40
Answer:

Cross-domain means the ability to manually or automatically access or transfer data between two or more differing security domain

1) CROS (Cross-Origin Resource Sharing) : Works with all HTTP verbs and Mos modern web browsers. Provides better support for error handling than JSONP.

2) JSONP (JSON with padding) : It is only works HTTP GET verb and on legacy browsers.


Asked In: devproconnections.com and en.wikipedia.org | Alert Moderator 

Comments or Responses

Login to post response