>All Tutorials 
Ajax and .NET Ajax and .NET RSS XML
Ajax and ColdFusion Ajax and ColdFusion RSS XML
Ajax and Java Ajax and Java RSS XML
Ajax and PHP Ajax and PHP RSS XML
Ajax and SOA Ajax and SOA RSS XML
Ajax Goodies Ajax Goodies RSS XML
Ajax Tool Ajax Tool RSS XML
Facebook MockAjax Facebook MockAjax RSS XML
Google Web Toolkit Google Web Toolkit RSS XML
JavaScript Framework JavaScript Framework RSS XML
Ruby on Rails Ruby on Rails RSS XML
Technique Introduction Technique Introduction RSS XML
Without XMLHttpRequest Without XMLHttpRequest RSS XML
Yahoo! UI Yahoo! UI RSS XML

Use a Web Proxy for Cross-Domain XMLHttpRequest Calls - web proxy yahoo server developer services domain application

 
Registered tutorials: 501
Registered Users: 37861



Rating: 2.5 out of 2 votes cast


  
Category: Technique Introduction

Use a Web Proxy for Cross-Domain XMLHttpRequest Calls

Digg this   Post to del.icio.us

Abstract: This tutorial provides describes the issue in simple, easy to understand language and provides one possible solution: a web proxy that relays network requests from your web server to services such as the Yahoo! Web Service APIs

Why You Need a Proxy

All modern web browsers impose a security restriction on network connections, which includes calls to XMLHttpRequest. This restriction prevents a script or application from making a connection to any web server other than the one the web page originally came from (Internet Explorer will allow cross-domain requests if the option has been enabled in the preferences). If both your web application and the XML data that application uses come directly from the same server, then you do not run into this restriction.

If, however, you serve your web application from one web server and you make web service data requests to another server -- for example, to the Yahoo! Web Services -- then the browser prevents the connection from being opened at all. Bummer.


Read Full Tutorial...



Reviews:

Rate and Review This Site

No reviews yet


Statistic Information About this Resource:


Total Hits: 678
Unique Hits: 601


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 0.6 0.6 3.4 3.7 24.8 27.1
Current 0 0 5 5 14 16
Previous 0 0 5 7 22 23
Feb 20 0 0 4 4 30 34
Feb 19 0 0 0 0 30 30
Feb 18 0 0 7 7 41 45
Feb 17 0 0 0 0 29 34
Feb 16 0 0 4 4 25 27
Feb 15 1 1 0 0 24 26
Feb 14 4 4 5 6 33 36
Feb 13 1 1 4 4 0 0
Highest 6 8 17 20 41 45


Script Execution Time: 0.1178 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2