cross-domain

ASP .NET create other Session when switch to http://example.com or http://www.example.com

If I type http://example.com and login to my site and close my browser, re-open it and retype http://example.com then I am logged in. However, when I type http://example.com, login, close the browser, re-open it, type http://www.example.com then I am NOT logged in. I do not use ASP .NET authentication classes. I run IIS 6 with both ex...

Injecting JQuery Cross-Domain

Hello, Is it safe to inject JQuery's script using JsonP? The installation of my web application is - adding a script to a customer's website (like google analytics). I was thinking of using JQuery on the customer's website, as part of my own injected script. I was wondering, if there is some kind of risk? The application needs to supp...

Access control for cross site requests in Internet Explorer

I am trying to make an AJAX call from several domains to a single one which will handle the request. Enabling Cross domain in Firefox and Chrome was easy by setting the header on the handling server: header("Access-Control-Allow-Origin: *"); But this doesn't help enabling it in Internet Explorer. When I try: httpreq.send(''); it st...

jQuery: sending credentials with cross-domain posts?

According to https://developer.mozilla.org/en/HTTP_access_control#Requests_with_credentials, Firefox will only send credentials along with cross-domain posts if invocation.withCredentials = "true"; is set… But it doesn't seem like jQuery's Ajax API provides any mechanism for this. Is there something I've missed? Is there some other way ...

Firefox: Cross-domain requests with credentials return empty

Firefox send a cross-domain post with credentials, I can (using Charles - a proxy for HTTP debugging) see that the server is sending back the response… But Firefox isn't "letting me see it" (for lack of a better description). For example, using the documented example: >>> var invocation = new XMLHttpRequest(); >>> invocation.open('GET...

Getting around same origin policy in javascript without server side scripts...

I have an environment that doesn't allow server side scripting really (it is extremely difficult to get a script "installed" on the server). I tried using an iframe to violate javascript's same origin poilcy; however, that didn't work. Are there any other workarounds I am not aware of? Thanks! ...

Silverlight not sending cookies in cross-domain browser requests

I have a Silverlight 3 control that makes a cross-domain HTTP request to http:// somedomain/. I am using the browser HTTP stack to make this request. A proper clientaccesspolicy.xml on somedomain is in place. My browser has a set of cookies for somedomain and I want these to by used when said HTTP request is made. When my Silverlight c...

Silverlight Cross Domain Problem

Hi, The problem I'm having is that I have a Silverlight app hosted in an ASP.NET app which is making web service calls to 2 web services in the ASP.NET Locally this works fine, it is accessing the policy files at http://localhost:1982/crossdomain.xml Set up on the remote server though it is still looking for the policy at this location...

Cross domain with an Iframe, pointing to SSO server

I have an application, where I am displaying some stuff in javasctip modals using jquery. It req. user to login for certain flows; but we never leave modal for user. So here is what we do currently. During user flow if user needs to be logged in, we hide current div and show a login div Keep a hidden iframe with Source link as that of...

Loading external images from another domain

Hi Is it possible to load an image(jpg, png, gif) from another domain and manipulate the pixels? I guess when the image is downloaded/copied it is in my domain. Using the Loader and add the content to an Image component I get an error in my debugger. I guess there are some cross domain polices at work here. But I need to be more sure ...

Not all Ajax content loading on one domain

I have the domain http://whatthecatdragged.in/ forwarded (cloaked) to http://moppy.co.uk/wtcdi/ The root page (index.html) uses Ajax to load the content. At the original host (moppy.co.uk/wtcdi) the page and all content loads. However, at the domain forwarded domain (whatthecatdragged.in), some of the content does not load. Has it somet...

AJAX request from one subdomain to another subdomain, but on the same domain

Hi all! I know that you can't do cross-domain ajax requests unless you use a 'proxy' one server. However, if I did an ajax request from server1.example.com to server2.example, would that not work, even though it's on the same domain of example.com? I'm pretty sure sites such as YouTube do ajax requests to different servers. such as a ...

Sending big data to server, Cross-Domain

I'm trying to send chunks of data from many different servers my app is on, to mine. Using some dummy image source, passing my data as a GET query. (img.gif?aaa=xxx&bb=yyy...) the Query is many times too long and gets cut. is there some better way for me to send the data cross-browser? ...

Using Prototype to load a JavaScript file from another domain

Using Prototype, anyone know how to load a javascript file using Ajax.Request from another domain? Or if this is possible? I believe this is possible with jquery, digg do it to load the Facebook API: jQuery.ajax({type:"GET", url:"http://static.ak.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php", cache:true, dataType:"script"}); Sou...

Can a signed Java Applet/Web Start manipulate content in a cross-site IFRAME?

Is it possible for a signed Java Applet or Web Start app to write to the DOM of an IFRAME under a different domain? Does the fact that they're a signed applet/javaws allow them to ignore browsers' standard cross-browser security? If this does work, how well is it supported across the major browsers? Thanks! EDIT: My motivation is to...

Online JSONP converter/wrapper

I would like to fetch a source of file and wrap it within JSONP. For example, I have pets.txt. I want to retrieve source of that file from another domain using nothing but client-side JavaScript. Can I do it? Actually, I can't. I can do it only for JSONP. So, I can convert pets.txt to JSONP. I'm looking for online service which can co...

Temporarily route all traffic (new site) to other domain? Best practice?

For a client I need to temporarily route their traffic to my own subdomain. Their host (a shared host) needs to be reconfigured for the site to work, but the client wants their site online ASAP (what else is new ;-) Considering the following: It's a new site/new domain, so there is no legacy SEO traffic. Preferably I'ld like the c...

Is is possible to read form values from a page within an Iframe?

I'm currently investigating whether it's possible to write a html/aspx page which contains an iframe which can read values entered in text boxes etc. Some of the knowns are: This will only need to work with IE 7/8 I have no control over the pages contained in the iframe The pages in the iframe are from a different domain I've tried ...

Silverlight and clientaccesspolicy.xml

I have a silverlight app hosted on "dev.system-engine.com" which creates an tcp connection connecting to "dev.system-engine.com" the silverlight app and the policy file are on the "dev.system-engine.com" webserver. "system-engine.com" and "dev.system-engine.com" are separate servers. I cannot seem to get it to work. I have been strugg...

How to pass coldfusion client variables across domains

We are building a coldfusion ecommerce solution (for a shopping cart solution provider). The system uses client variables. The user registration, login and cart functionality will be on client's domain (ex: abc.com which is an non SSL) and the user should be transferred to our eshop domain (which is entirely different domain and is on SS...