This is usually done by dynamically inserting a script element. The
script element doesn't have to be from the same domain.

Have a look at the following threads from this list on Nabble.

http://www.nabble.com/Remote-Scripts-tf3033153.html#a8427636
http://www.nabble.com/Dynamically-loading-scripts-tf1913101.html#a5237431

Karl Rudd

On 3/14/07, bruce <[EMAIL PROTECTED]> wrote:
> Hi Renato..
>
> The app I'm considering can't use a proxy server on the 'current' domain.
> The issue I'm trying to solve is similar to the 'passport' app from
> microsoft awhile ago.
>
> I'm considering how to allow a central app/process act as a login/validation
> server, allowing other sites to verify that a user is who/what he claims to
> be.
>
> For this to work, I'm envisioning that there has to be a way for a a client
> site, to be able to interface/communicate with a central server/service...
>
> Thoughts/comments on how to accomodate this.
>
> I was also under the impression that widgets on a given site, are able to
> communicate back to central servers that aren't part of the app being viewed
> by the user....
>
> I've seen widgets that allow you to see who's on the site you're on, where
> the widget is getting updated information from a central server that's not
> part of the site that the user is watching...
>
> -bruce
>
>
> -----Original Message-----
> From: Renato Formato [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 13, 2007 11:31 AM
> To: [EMAIL PROTECTED]; jQuery Discussion.
> Subject: Re: [jQuery] ajax- demo
>
>
> bruce ha scritto:
> > i'm trying to figure out how i can have a piece of ajax, so the user can
> > provide an input, which then goes to an external server to get processed,
> > with the results being returned to the page for processing by the original
> > server.
> It's not possible because of security reasons as far as I know. Ajax can
> be done only between the client and the domain from which the page is
> loaded.
>
> A workaround is to make a request to the current domain server that, in
> turn, acts like a "proxy" with the external server, getting the content
> and serving it back to the client.
>
> Ciao
> Renato
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to