<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to bypass cross-domain restrictions when developing AJAX applications</title>
	<atom:link href="http://www.ghidinelli.com/2008/12/27/how-to-bypass-cross-domain-restrictions-when-developing-ajax-applications/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ghidinelli.com/2008/12/27/how-to-bypass-cross-domain-restrictions-when-developing-ajax-applications</link>
	<description></description>
	<lastBuildDate>Thu, 01 Jun 2017 18:51:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Joran Greef</title>
		<link>http://www.ghidinelli.com/2008/12/27/how-to-bypass-cross-domain-restrictions-when-developing-ajax-applications/comment-page-1#comment-54525</link>
		<dc:creator>Joran Greef</dc:creator>
		<pubDate>Tue, 03 Mar 2009 15:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=461#comment-54525</guid>
		<description>Thanks for your post. I&#039;ve been through the same areas as you in this regard. I&#039;ve also tried the Apache proxy approach. The problem is it&#039;s harder for clients hosting with IIS or shared servers to try this. It also requires more work for your client to interface with your API. The worst, however, is that your latency is effectively doubled, adding on up to 2 seconds per request. In addition, your clients become partner to bandwidth expenses relating to their use of your API.

There is an excellent solution discovered by Kris Zyp as recent as July 2008 however: http://www.sitepen.com/blog/2008/07/22/windowname-transport/ I did a quick port of it and have been using it extensively for the past couple of months. It&#039;s cross-browser and requires only a small touch of work to your server&#039;s api to enable it to respond to cross-domain requests. It doesn&#039;t have the same request size limitations as the dynamic script tag hack, and it doesn&#039;t have the unbelievable complexity of Google&#039;s nested iframe approach which requires chunking to overcome response size limits.</description>
		<content:encoded><![CDATA[<p>Thanks for your post. I&#8217;ve been through the same areas as you in this regard. I&#8217;ve also tried the Apache proxy approach. The problem is it&#8217;s harder for clients hosting with IIS or shared servers to try this. It also requires more work for your client to interface with your API. The worst, however, is that your latency is effectively doubled, adding on up to 2 seconds per request. In addition, your clients become partner to bandwidth expenses relating to their use of your API.</p>
<p>There is an excellent solution discovered by Kris Zyp as recent as July 2008 however: <a href="http://www.sitepen.com/blog/2008/07/22/windowname-transport/" rel="nofollow">http://www.sitepen.com/blog/2008/07/22/windowname-transport/</a> I did a quick port of it and have been using it extensively for the past couple of months. It&#8217;s cross-browser and requires only a small touch of work to your server&#8217;s api to enable it to respond to cross-domain requests. It doesn&#8217;t have the same request size limitations as the dynamic script tag hack, and it doesn&#8217;t have the unbelievable complexity of Google&#8217;s nested iframe approach which requires chunking to overcome response size limits.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
