Hi,
I have 2 domains name, say, www.domain1.com and www.domain2.com.
I would like setup pages.xml so that make a redirect from first domain to second domain, through a web link, and change scheme from http:// to https:// at the same time, without losing session context. Is this possible? How can I do it?
Thanks you very much.
David
...
Hello SO,
I've got a situation a page on where a script on www.example.com/index.html opens home.example.com/foo.html in a popup window. When the user closes the popup, I want to notify the opener page by calling a Javascript function on it (which does a few things with the DOM). I use unbeforeunload like this:
// In index.html on...
Webpage A is embedded in an iframe inside of webpage B. A and B are on two different domains and therefore the same origin policy prevents A from accessing properties of B like so;
location = window.top.location.href // emits a "Permission denied" error
Is there any other way for A to get B's url?
...
I'm implementing a "widget" that will be included on article/story pages of a 3rd-party website. This widget lives in an <iframe> hosted on our domain. It needs to gather text from the articles of its parent page (the 3rd-party website), which it then uses to make a variety of API calls to services that return related content, which is t...
On my site i would like to sign in with a google account. I plan to use openid but i would like to see signing in with google has more benefits. I notice in the past a few sites has the ability to sign in with a google (gmail) account and IIRC they all did NOT support openID (i could be wrong)
How do i 'sign in with google' ?
...
Previously, Google's Friend Connect required users to upload a couple of files to their websites to enable cross domain communication and Facebook Connect still requires you to upload a single file to enabled it.
Now, Friend Connect doesn't require any file upload... I was wondering how they were able to accomplish this.
Reference:
htt...
Alright, so I'm building a web app that provides music information (i.e. info on artists, albums, songs, etc.) and for the info source I'm using the MusicBrainz API.
Now, I'm trying to load the data from an API call and process it, with jQuery. This is the code I'm using:
Code:
queryString="http://musicbrainz.org/ws/1/artist/?type=xm...
I'm creating a quick prototype as a proof-of-concept for a bigger project. I need to create a working cross-domain POST request, and I have jQuery available.
Since I'm assuming (please correct me if I'm wrong) that $.ajax() will not work because the page making the POST request lives in a different domain than the server receiving the r...
I am logged into a phpBB site in a Firefox tab.
On my site I load the same phpBB site in an iframe in another tab of Firefox.
When I load the iframe it takes me to the login page.
If I open the phpBB site again in a third tab, I am still logged in.
Is this because a new session ID is being issued because of the iframe? Or maybe it's...
I have just encountered an extremely odd behaviour from the Flash Player (10,0,32,18). I have a swf that tries to load data from a URL that contains a query. This works fine except for when the URL points at the root of the site. Flash Player then interprets the URL as a different domain and tries to load a crossdomain.xml file from the ...
I'm trying to do a cross domain POST request and have hit a wall (or two).
I can't put a proxy page on the server - so that is not an option.
I have researched getJSON, which works great except that I need to POST not GET.
Is it possible to do this? If it is not, can someone explain to me how getJSON works and why I cannot make a POST...
Hi,
I'm having a few problems with an application that integrates sharepoint, SQL reporting services and a bunch of custom forms that are built using ASP.NET MVC.
Assuming my servers are as follows;
MOSS
SSRS
Custom forms
In MOSS, my portal has need on occassion to popup a custom form to capture user input. I've done this by using ...
Hi All,
I am building a web service that will make heavy use of cross-domain GET and POST data, and then update some lightbox or similar windows on the client.
Is there one JavaScript framework that is better at this, or more importantly, a framework which I should avoid?
I want to be able to put controls in the boxes. Really sexy bo...
Is it possible to submit a form inside an iframe without affecting the browser's history?
I've implemented sending a cross domain POST request. It uses Javascript to create and submit a form inside an iframe. It works, but each request adds an item to the browser's history.
Anyone know a way around this? I've tried creating the if...
I have a JS file that puts an iframe on every site its on.
both the JS and the iframe location comes from the same domain, mine.
Can I somehow communicate from within the iframe to the outside script,
which isn't running on my domain, but is called from it?
I know about JSONP but i'm looking for a better way if possible
...
I need to migrate our SharePoint farm to a new domain. Until everything is moved we have full trust set up between the domains.
Farm Hardware
One WFE/Index Server
Two SQL DB Servers (clustered)
I know how to do this using all new hardware from production to a dev environment but doing an in place migration seems more daunting. To...
I get a really strange security error when trying to load data from one URL to another. Essentially my facebook canvas URL points to http://www.tonyamoyal.com/stuff/path/ and that has an fb:swf tag which points to http://www.tonyamoyal.com/stuff/path/Quiz.swf. The facebook app loads fine but when I try to call a service that resides on...
I have an application which is written entirely as html/js (there is no server). Using javascript, I would like to retrieve a script from another domain and get its contents as a string. I do not want to evaluate the script. Is there any hack which can make this possible?
...
i need to set up a proxy for cross-domain javascript.
the problem is, i tried the simple fgets() , i discovered, javascripts are ignored and non-functional.
is there a proxy library that handles all these ? it can be in any scripting language.
...
I'm presently working on a large intranet mashup that uses sharepoint to aggregate content from several other internal servers such as:
moss.myapp.internalserver.local - The MOSS portal
ssrs.myapp.internalserver.local - SQL Server reporting services reports
app.myapp.internalserver.local - Custom ASP.NET MVC forms
The moss portal inv...