Connecting Tech Pros Worldwide Help | Site Map

request throught ajax on another server not working in firefox

Member
 
Join Date: Jun 2008
Posts: 97
#1: Dec 5 '08
hi

i am trying to send an information to a page which is on another server.

var url="http://www.example/.php"

this request is working properly on IE but not working on firefox

firefox is not sending request to a page which has another domain

please give me some solution

thanks in advance
Member
 
Join Date: Jul 2007
Location: San Ramon, California
Posts: 65
#2: Dec 5 '08

re: request throught ajax on another server not working in firefox


Firefox employs security protocols which do not let you do this. Internet Explorer works because it doesn't really employ many of the things Firefox does to keep a user safe. (The reason this is here is to prevent one from being able to XSS attacks)

I'm afraid there's not much you can do to get around it.

Edit: This seems more like a JavaScript/Ajax issue, not PHP.
Reply