This is my Javascript function which grabs an rss feed via the proxy script and then spits out the 5 latest rss items from the feed along with a link to my stylesheet:
function getWidget (feed,limit) { if (window.XMLHttpRequest) {
xhttp=new XMLHttpRequest()
} else {
xhttp=new ActiveXObject("Microsoft.XMLHTTP")
...
I have 3 sites :
media.lmenaria.com -> Hosting Images
webservice.lmenaria.com -> Sending images url from database.
www.lmenaria.com -> Host Silverlight application and display images.
When I run page "http://www.lmenaria.com/silverlight.aspx". I am getting below exception. So what shpould I do ?
System.Security.SecurityException: Se...
Hi
I am trying to acess a wcf service from a jQuery client
Specifically this example
http://www.codeproject.com/KB/aspnet/WCF_JQUERY_ASMX.aspx#4
All works well when the client webpage is on the same domain as the service
As soon as I move the client webpage to another domain it breaks. It cant reach the service and the request fails
...
Is it possible for an Adobe AIR application to connect to a remove webservice that does not expose a cross-domain.xml file? If so, how do you configure the security sandbox within Air to allow this?
I have attempted a socket connection and received the following error:
securityErrorHandler:
[SecurityErrorEvent
type="securityErro...
Okay, so I have an issue with an AJAX request. I currently have this URL:
http://www.google.com/images?hl=en&safe=off&gbv=2&tbs=isch%3A1&sa=1&q=cars+imagesize%3A500x500&aq=f&aqi=&aql=&oq=&gs_rfai=&start=0
I then pass it to my proxy script by modifying the string to this:
proxy.php?url=http:/...
EDIT: It's been pointed out below that this doesn't work because craigslist doesn't set an Allow-Cross-Domain header. OK, I'll buy that. Is there any other way to use javascript in firefox to download a page cross-domain then?
Yes, I know the following code does not work in IE. I know IE expects me to use XDomainRequest() instead. I d...
Hi everyone,
I have encountered a situation where I need to pass $_SESSION variables from one domain to an iFrame page from another domain. I have spent the last 16 days trying various methods to no avail. I think that the only logical way would be to encode the variables in the url that calls the iFrame and decode them in th iFrame pag...
Hi guys, i have a problem with cross-domain cookies. I read a lot of documentation about sharing cookies between subdomains. The main idea of all articles is set Domain property to something like ".mydomain.com". I've created two domains on local IIS server - test1.local.boo and test2.local.boo. They works great and visible with browser....
Ok, so I'm using Jquery's AJAX function and it's having trouble passing a URL with a http address. So I'm hoping to "get" the GET values and send them to another URL — so: a local php file begin passed GET values, which in turn forwards the GET values to another url.
Maybe curl is the answer? I don't know. It's got to be a very short an...
I am trying to connect to a socket server from flex.
I read, on adobe's documentation, the client automatically sends a "request-policy-file" xml element to the socket before allowing it to be opened, and should receive a policy file.
The client sends the xml element as expected, My server receives it (on the port I want to use, port 6...
I'm having trouble with a cross-domain policy. I'm using the AS3 Loader to fetch an image; I'm making it load the policy file, like this :
var pLoader : Loader = new Loader();
var pContext : LoaderContext = new LoaderContext();
pContext.checkPolicyFile = true;
pLoader.load(new URLRequest(sURL), pContext);
This works fine...
For a bookmarklet project I'm trying to get JSON data using jQuery from my server (which is naturally on a different domain) running a Django powered system.
According to jQuery docs: "As of jQuery 1.2, you can load JSON data located on another domain if you specify a JSONP callback, which can be done like so: "myurl?callback=?". jQue...
I am dealing with a booking engine, and I have an oddball specific request from the client.
Firstly though, there are two domains:
http://my-client.com/
and
http://booking-engines.com/my-client/
There exist 4 overall steps:
Check availability through a booking console ( specify criteria such as # of adults/kids/dates ). This live...
Hi Guys,
I am building a widget for my users and trying to get it working however I keep running into a X-Domain issue with this header. httpfox gives me - NS_ERROR_DOM_BAD_URI - and on further investigation I find that its
Access-Control-Request-Method: GET
Access-Control-Request-Header: x-requested-with
I am not sure why its not...
I searched a lot on this topic, but didn't really found a solid answer
to this.
I need to set a cookie from any domain (out of my control),
lets say "Domain B" to my main domain, lets say "Domain A", and be able
to read the cookie also, without exiting Domain B. kinda like Facebook
connect for websites, or Snap.com, and others of the ...
I have a rather interesting problem. I have a parent page that will create a modal jquery dialog with an iframe contained within the dialog. The iframe will be populated with content from a 3rd party domain. My issue is that I need to create some dialog level javascript that can detect if the content of the iframe loaded successfully and...
$.ajax(
{
url : "http://search.twitter.com/search.json?q=google&lang=en&rpp=10&since_id=&callback=?",
dataType : 'json',
success : function(data)
{
alert(data.results.length);
}
});
How exactly is this working ? I mean the cross-domain request.
...
I need a little if help to solve this question.
I need to get and XML from another server. My server can't make a request because of firewall.
With javascript(jquery), What's the solution to make and ajax call cross-domain?
I can make the request on client side but, How to get and xml node?
Usign a proxy script does not work for me...
A...
I´m using mvc futures 2 with WebApiEnabled for XML and JSON support. But due to cross domain issues with jQuery $.ajax I´m lookin in to JSONP.
Is there a simple way to extend futures rest function for JSONP or should I do something else.
Do anyone have some hints on this subject ?
...
Let us say I have a url of subdomain.domain.com. Is there a way in ASP.NET MVC to have a url of say otherdomain.com/gotothesubdomain that takes you to subdomain.domain.com? I know that a simple redirect could do it, but I want the url to stay as otherdomain.com/gotothesubdomain.
Any advice would be greatly appreciated and thanks!
...