currently i am relying on a proxy script to handle this problem of Single Origin Policy. it is slow, and creates overhead. Not to mention, javascript is not rendered.
is there a working alternative out there?
...
mysite.com has an iframe which loads some differentsite.com.
need to run javascript on this loaded iframe document.
Single Origin Policy kicks in.
i resort to using proxy. its slow, creates bottleneck, unable to fully render the site (JS is not rendered).
Alternatives ?
...
What's the best way to have two websites (asp.net based) running on different domains but using the same database ?
Would it be a good idea to have the database on one of the domains and have the other one access it via a web service ?
...
I'm going to be as specific and verbose as possible and include some of the code I'm using. I already did a search and found this question, which seems similar; however the author there was using ActionScript 2 instead of 3, and I couldn't seem to apply any of the answers given to my own situation effectively.
I am trying to emulate (in...
I'm working on some Javascript that makes use of Firefox 3.5's ability to perform cross-domain XMLHttpRequests… But I'd like to fail gracefully if they aren't supported.
Apart from actually making a cross-domain request, is there any way to detect a browser's support for them?
...
So I'm using both xml files listed below with no luck. They both exist in the root of my IIS hosted web service on a different web server (behind the firewall). The web service is a simple POX like service that returns a JSON string.
Also I'm trying to get access to this service from a cassini run project on my local machine (to test ...
I've spent probably a month researching the internet on this issue and have yet to find the answer to this. My code does the following (all Javascript).
Let's say I have a test.html on mydomain.com
Very first thing in head section i set document.domain = 'mydomain.com';
Then, dynamically create iframe, set src to "subdomain.mydomain.c...
I've been working my way through Tim Heuer's Silverlight tuturial, in which you set up a basic interface to search Twitter. I started on the tutorial yesterday, completing through Step 3. It all was working fine. Now, though, I can't call Twitter without getting a "System.Security.SecurityException" error in the OpenReadCompleted handler...
Hi,
Is it possible use mod_rewrite to resolve addresses hosted on another server?
Say I want to setup this URL:
http://www.myserver.com/myfolder/
To actually resolve to:
http://www.anotherserver.com/anotherfolder/
If so, could you provide a RewriteRule example?
-thanks
...
After assigning this: window.onload = initfunction;
I want to append the AJAX cross domain script to the header:
function initfunction() {
var dh = document.getElementsByTagName('head')[0];
var script = null;
script = document.createElement('script');
script.setAttribute('src', 'http://whatever.com/cgi-bin/ACD/ACD.js?'+location.hr...
I have 2 sites that are on different servers and domains but I would like to pass from one to the other with out having to re-authenticate.
Both sites use the same DB so my thought was have an Auth Table where I place a GUID, the users ID, and a time stamp. I would pass the GUID in the URL and do a lookup to see if the GUID is in the ...
I want to send large amounts of data to and from 2 domains (e.g. Cross Domains) I was told the best way to do this is to use IFrames. My question is...
How do I go about doing this.
Is this what google does ???
Is this the best practice???
How can I better learn about this stuff.
...
I have website that use XMLHttpRequest (jQuery, actually). I also have another site running on the same server, which serves a script file that makes XHR requests back to THAT site, ie.
http://mysite:50000/index.html includes
<script src="http://mysite:9000/otherscript.js"></script>
and http://mysite:9000/otherscript.js incl...
I have a ListBox that gets populated with items read from a JSON response. Each item has an Image control that displays the thumbnail at the remote URL given by the Thumbnail property. I created a custom IValueConverter to convert the URL to a BitmapImage, but the image still didn't display. So I finally realized that I could capture loa...
I have a AS3 swf that scrapes google images for a search query and displays some of the results. It works locally, but when the swf is on a server it can't access google. I've tried Security.allowDomain, but it doesn't work. Any suggestions?
...
I have completed 'Integrating Microsoft Silverlight with a SharePoint Online Page' from the SharePoint developers guide and it gets a cross-domain error.
I understand CrossDomain issues with Silverlight but I have two concerns: the guide makes no mention of requiring a crossdomain.xml or clientaccesspolicy.xml file which makes me think ...
Hello,
Have some Javascript that I need to work via the following:
://localhost
://servername
:/www.domainnamefortheserver.com
When I run the script from http://servername with an IFRAME referencing the domain - it does not load.
Is there a way to get the Javascript security model to recognize the server name, localhost and the dom...
I have a site of user-submitted news articles, and an idea I had for a feature was to grab the favicon on the target site to display along with the link.
The methodology for grabbing the favicon would be checking for the favicon.ico file on the target server. Would displaying that icon as an image open any hole? Could there be some so...
hello, i'd like to put in html pages around a javascript that call a remote javascript file in my server, elaborate datas by give content back to the html page where the javascript will populate a div by id with the given data.
what's a possible way to perform it? the data will be calculated in php.
...
Unlike other browsers (IE, FF, Chrome) Opera 10 doesn't allow websites to access content from localhost. Only when 127.0.0.1 is explicitly added to the trusted websites list in Opera does this work - all other browsers don't need this.
Any suggestions on how I can either programatically add this to the trusted sites list in Opera (unlik...