Hi All,
Q: Is it possible to send an XMLHttpRequest between 2 different
domains?
right now I'm using an Iframe to do so
thanks ;-) 12 2277 sh************* @gmail.com wrote in news:1139823895 .923599.313360
@g44g2000cwa.go oglegroups.com: Hi All,
Q: Is it possible to send an XMLHttpRequest between 2 different domains?
nope.
Good Man wrote: sh************* @gmail.com wrote in news:1139823895 .923599.313360 @g44g2000cwa.go oglegroups.com:
Hi All,
Q: Is it possible to send an XMLHttpRequest between 2 different domains?
nope.
umm - i've done it...
"Tony" <to****@dslextr eme.com> wrote in message
news:11******** *************@z 14g2000cwz.goog legroups.com... Good Man wrote: sh************* @gmail.com wrote in news:1139823895 .923599.313360 @g44g2000cwa.go oglegroups.com:
> Hi All, > > Q: Is it possible to send an XMLHttpRequest between 2 different > domains?
nope.
umm - i've done it...
Then I suggest you tell us how...?
With a serverside proxy, yes of course... Then it is simple, but
a cross-domain XMLHttpRequest directly from the client?
--
Dag.
On 14 Feb 2006 08:20:26 +0100, "Dag Sunde" <da*@viz.no> wrote: "Tony" <to****@dslextr eme.com> wrote in message news:11******* **************@ z14g2000cwz.goo glegroups.com.. . Good Man wrote: sh************* @gmail.com wrote in news:1139823895 .923599.313360 @g44g2000cwa.go oglegroups.com:
> Hi All, > > Q: Is it possible to send an XMLHttpRequest between 2 different > domains?
nope.
umm - i've done it...
Then I suggest you tell us how...?
With a serverside proxy, yes of course... Then it is simple, but a cross-domain XMLHttpRequest directly from the client?
it's still simple, you just configure IE to "access data sources
across domains" or in Mozilla you get appopriate browser privileges
for your script.
Smple doesn't mean practical though.
Jim.
"Jim Ley" <ji*@jibbering. com> wrote in message
news:43******** ********@news.i ndividual.net.. . On 14 Feb 2006 08:20:26 +0100, "Dag Sunde" <da*@viz.no> wrote:
"Tony" <to****@dslextr eme.com> wrote in message news:11****** *************** @z14g2000cwz.go oglegroups.com. .. Good Man wrote: sh************* @gmail.com wrote in news:1139823895 .923599.313360 @g44g2000cwa.go oglegroups.com:
> Hi All, > > Q: Is it possible to send an XMLHttpRequest between 2 different > domains?
nope.
umm - i've done it...
Then I suggest you tell us how...?
With a serverside proxy, yes of course... Then it is simple, but a cross-domain XMLHttpRequest directly from the client?
it's still simple, you just configure IE to "access data sources across domains" or in Mozilla you get appopriate browser privileges for your script.
Smple doesn't mean practical though.
Excactly... Which means it is't usable at all except when you're
working with an intranet where one have complete control over the UAs.
--
Dag.
Dag Sunde wrote: "Tony" [...] wrote [...] Good Man wrote: sh************* @gmail.com wrote [...]: > Q: Is it possible to send an XMLHttpRequest between 2 different > domains? nope. umm - i've done it...
Then I suggest you tell us how...?
With a serverside proxy, yes of course... Then it is simple, but a cross-domain XMLHttpRequest directly from the client?
Possibilities:
A) The OP used `document.domai n' since the domains were different but
their second-level domain was not.
B) a) The OP used a signed script or set a preference so that no signed
script was necessary, then he requested the required privilege.
b) The OP did not sign the script and accepted that users would get
a security dialog when he requested the required privilege.
C) None of the above.
PointedEars
Thomas 'PointedEars' Lahn wrote: Possibilities:
A) The OP used `document.domai n' since the domains were different but their second-level domain was not.
B) a) The OP used a signed script or set a preference so that no signed script was necessary, then he requested the required privilege.
b) The OP did not sign the script and accepted that users would get a security dialog when he requested the required privilege.
C) None of the above.
D) (and the main one) OP goes to say
<http://cgi.resourceind ex.com/Programs_and_Sc ripts/Perl/Content_Retriev al/>
to take any content stealing script of his choice (free or
"commercial ") and enjoy ever after.
VK wrote: Thomas 'PointedEars' Lahn wrote: Possibilities:
A) The OP used `document.domai n' since the domains were different but their second-level domain was not.
B) a) The OP used a signed script or set a preference so that no signed script was necessary, then he requested the required privilege.
b) The OP did not sign the script and accepted that users would get a security dialog when he requested the required privilege.
C) None of the above. D) (and the main one) OP goes to say
<http://cgi.resourceind ex.com/Programs_and_Sc ripts/Perl/Content_Retriev al/> to take any content stealing script of his choice (free or "commercial ") and enjoy ever after.
news:43******** @news.wineasy.s e
PointedEars
Dag Sunde wrote: "Tony" <to****@dslextr eme.com> wrote in message news:11******** *************@z 14g2000cwz.goog legroups.com... Good Man wrote: sh************* @gmail.com wrote in news:1139823895 .923599.313360 @g44g2000cwa.go oglegroups.com:
> Hi All, > > Q: Is it possible to send an XMLHttpRequest between 2 different > domains?
nope.
umm - i've done it...
Then I suggest you tell us how...?
With a serverside proxy, yes of course... Then it is simple, but a cross-domain XMLHttpRequest directly from the client?
I just checked out what I had done before - and noticed that I had only
tested it as a local file - never on a server.
As a local file, it's no problem to get the HTML response from, say,
Google or Yahoo (which are the targets that I tried). But when I put
the same file on a server, I get "permission denied".
So, I suppose that technically I've done it, but not in any useful
manner. My apologies for the fogged memory... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: G Matthew J |
last post by:
interesting "signal vs. noise" blog entry:
http://37signals.com/svn/archives2/whats_wrong_with_ajax.php
|
by: javainfo |
last post by:
How can i refresh IFRAME and load data through AJAX?
|
by: darrel |
last post by:
Last week I asked about ASP.net 2.0 AJAX frameworks and there appears to be
several to choose from.
I haven't used ASP.net 2.0 yet, but from doing a bit of reading, it appears
that ASP.net 2.0 also has some client side call-backs built in that can
update the display via AJAX.
To ask a more specific question, do I need a specific AJAX framework to do
the following:
|
by: Tony |
last post by:
I just noticed that prototype.js is one of the files in the Ajax.NET
distribution - I'm pretty concerned about this. Does anyone know if this
is the same "prototype.js" that is not well-liked around here?
If so, do you know if Ajax.NET can be used without prototype.js?
--
"The most convoluted explanation that fits all of the made-up facts is
the most likely to be believed by conspiracy theorists. Fitting the
|
by: codefragment |
last post by:
Hi
I have asked this on the official asp.net forums but no luck so
thought I'd try here
Assume you have a page with a filter control and a grid view and many
other controls on it. When the filter changes you want the gridview to
change but nothing else. In particular all you would like to happen is
for an ajax call to occur and a new grid view to be returned.
| |
by: =?Utf-8?B?V2ViQnVpbGRlcjQ1MQ==?= |
last post by:
I'm about to finally make the jump and start a new site using AJAX. THe
question i have for all of you AJAX developers out there is which one?
1. The Standard AJAX frame work
2. The Tool kit.
3. Or are there others out there.
4. Should i not do AJAX at all because it still posts back the entire page
even though
only the section is refreshed. (someone tell me i'm wrong here and why
please!)
|
by: =?Utf-8?B?VG9u?= |
last post by:
Hello,
I want to understand teh benefits of ajax technology. Does anyone has a good
website where AJAX EXTENSIONS is worked out so I really understand it.
There a 2 main questions:
1) How about the form load event. Why should it fire when I put a button in
a update panel? Is this necessary and is only the other controls related to
the update panel send back? Or the whole page (If this is true I really do
not get it). But please answer...
|
by: Cirene |
last post by:
3 quick questions...
1. Are the controls in the AJAX Futures download "beta" or the release and
stable version?
2. Also, where is the best way to learn how to implement these? (Other than
by downloading the stuff at asp.net/ajax.)
3. When will the new version of AJAX be out? Will it be included with the
Visual Studio 2008 release?
|
by: Jonathan Wood |
last post by:
Greetings,
I'd like to implement some AJAX features on an existing ASP.NET site. I have
one example of doing this but, otherwise, don't know much about it.
I have one question, though, about getting started: I notice that there are
project templates for creating AJAX this and AJAX that. I'm a little
confused about this. Am I not able to add AJAX features to an existing Web
form? Why is it necessary to select an AJAX form or whatever?
|
by: sheldonlg |
last post by:
I am looking for a clean solution to a problem that I solved in, what I
call, a "dirty" way.
Here is what I want to do. I have a dropdown list. Clicking on an item
in the dropdown list invokes an AJAX call that gets data which populates
the entire lower part of my screen. It does this with an innerHTML for
the div tag that holds all of this. This works fine.
I also have an "Edit" button that I want to show next to dropdown list,...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |