Thanks for the reply Swilk ... I did not see it appear in the email that gets sent tot the group !!!
The toruble with a serverside proxy is that it doesnt carry images or anything thats not directly linked via http://www.example.com/js/file.js accross to the proxy .... I.e if the file is not linked like <script src=http://www.example.com/js/file.js> </script> Then it wont carry the file accross .. well at least so far i have tested images anyway and they dont carry the linking ... and i am pretty sure sessions wont be carried either (in the case of php at least) Regards ALex ----- Original Message ----- From: "SWilk" <[email protected]> To: <[email protected]> Sent: Wednesday, December 17, 2008 11:10 AM Subject: [Proto-Scripty] Re: Prototype Cross Site Ajax Request > > Jeztah wrote: >> Sorry to repost but this did not appear on the group email out >> > Your post appeared on the list, but it seems nobody had time to answer. > >> On Dec 16, 2:58 pm, Jeztah <[email protected]> wrote: >>> Does anyone know if this is supported yet in prototypejs ... i have >>> found a plugin for it but it seems not to work as it is intended for >>> proto 1.5 and i am on the latest one .... Are the developers thinking >>> of maybe adding the "crossSite" option into ajax requests ? >>> > > Cross site requests are not the problem of (any) javascript framework. > They are blocked by the browser for security reasons. > > Please read: http://en.wikipedia.org/wiki/Same_origin_policy > for details. > > I have not seen the plugin you are writing about. I think it used > either some kind of bug in browsers, or dynamicly created a <script> > tag to include some scripts from the remote domain. > > I think no workaround will be incorporated into prototype, and in my > humble opinion it shouldn't be. This would lead to security problems > in sites which do not need cross site requests. Sites which needs them > can use a simple server-side proxy script without modification of > prototype. > > > Regards, > SWilk > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
