On Sat, Feb 5, 2011 at 1:38 PM, mcot <[email protected]> wrote:

> http://www.w3.org/TR/XMLHttpRequest2/ is another option... but I do
> not know about browser support.
>

See http://caniuse.com/#search=xhr

- Richard


>
> On Feb 5, 11:23 am, Gaurav Yadav <[email protected]> wrote:
> > Hi Guys,
> >
> > The problem : Same origin policy, it doesn’t allow any cross domain
> > XHR request
> >
> > I have gone through the discussions on the internet and found the
> > following possible solutions:
> >
> > 1) JSONP (can be used)
> > 2) Hidden Iframes (not possible as developers needs control of both
> > the domains)
> > 3) window.postMessage (not sure if JavaScript libraries can make it
> > work in old browsers i.e. IE6)
> > 4) Cross-Origin Resource Sharing (CORS) (not possible to support old
> > browsers i.e. IE6)
> > 5) The Reverse Proxy method (not possible developers needs control
> > over server of the users website)
> > 6) easyXDM (need to explore how to use it)
> >
> > Firstly i would like to confirm with you guys that the brief analysis
> > done by me of the different approaches possible is correct and i am
> > not missing out on any great solution that anyone is using and if my
> > analysis is correct i would like to discuss the pros and cons of these
> > approaches.
> >
> > Secondly I know that Facebook, Twitter, Google all of them share their
> > apps (exactly the way i want to share) and have overcome this problem
> > in order to do so, Can anybody point me in the direction where i could
> > find more about how they have solved this problem.
>
> --
> To view archived discussions from the original JSMentors Mailman list:
> http://www.mail-archive.com/[email protected]/
>
> To search via a non-Google archive, visit here:
> http://www.mail-archive.com/[email protected]/
>
> To unsubscribe from this group, send email to
> [email protected]<jsmentors%[email protected]>
>

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to