|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
CFAjax - Permission denied to call method XMLHttpRequest.openI have a few minutes, so I thought I would see what all the hype about AJax
is. I downloaded CFAjax onto my server, but when I try to run the examples, I am getting an error message in Firefox ("Permission denied to call method XMLHttpRequest.open") and a security warning in IE. When I run the examples online however, things work fine. Is there something special that needs to be setup on the server for CFAjax to work? Thanks -- Jeff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:47:1959 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/47 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:47 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.47 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54 |
|
|
RE: CFAjax - Permission denied to call method XMLHttpRequest.openCould it be you're trying to run the examples in a way that has them
pointing at a remote server (to get data) that's not the same one on which you served the pages (to view the data)? Charlie Arehart CTO, New Atlanta Communications, makers of BlueDragon (678) 256-5395 charlie@... www.newatlanta.com/bluedragon/ > -----Original Message----- > From: Jeff D. Chastain [mailto:lists@...] > Sent: Tuesday, November 01, 2005 3:17 PM > To: Ajax > Subject: CFAjax - Permission denied to call method XMLHttpRequest.open > > I have a few minutes, so I thought I would see what all the > hype about AJax is. I downloaded CFAjax onto my server, but > when I try to run the examples, I am getting an error message > in Firefox ("Permission denied to call method > XMLHttpRequest.open") and a security warning in IE. When I > run the examples online however, things work fine. Is there > something special that needs to be setup on the server for > CFAjax to work? > > Thanks > -- Jeff > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:47:1960 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/47 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:47 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.47 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54 |
|
|
RE: CFAjax - Permission denied to call method XMLHttpRequest.openAs far as I can tell, no. I have not made any changes to the code. I just
downloaded the 1.2.1 zip, expanded it into my wwwroot, and renamed the folder to be 'ajax' in order to correspond to the includes. I have not changed any of the code. Thanks -- Jeff -----Original Message----- From: charlie arehart [mailto:charlie@...] Sent: Tuesday, November 01, 2005 2:31 PM To: Ajax Subject: RE: CFAjax - Permission denied to call method XMLHttpRequest.open Could it be you're trying to run the examples in a way that has them pointing at a remote server (to get data) that's not the same one on which you served the pages (to view the data)? Charlie Arehart CTO, New Atlanta Communications, makers of BlueDragon (678) 256-5395 charlie@... www.newatlanta.com/bluedragon/ > -----Original Message----- > From: Jeff D. Chastain [mailto:lists@...] > Sent: Tuesday, November 01, 2005 3:17 PM > To: Ajax > Subject: CFAjax - Permission denied to call method XMLHttpRequest.open > > I have a few minutes, so I thought I would see what all the hype about > AJax is. I downloaded CFAjax onto my server, but when I try to run > the examples, I am getting an error message in Firefox ("Permission > denied to call method > XMLHttpRequest.open") and a security warning in IE. When I run the > examples online however, things work fine. Is there something special > that needs to be setup on the server for CFAjax to work? > > Thanks > -- Jeff > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:47:1961 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/47 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:47 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.47 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54 |
|
|
|
|
|
RE: CFAjax - Permission denied to call method XMLHttpRequest.openJeff, I think I figured out the problem you were hitting. If you setup CFAXAC (or by default left it setup) to respond
to localhost requests, but you're running it at 127.0.0.1, that will cause this problem. Either change the URL, or run the installation.cfm to change the setup. Let me know if that works for you. Charlie Arehart CTO, New Atlanta Communications, makers of BlueDragon (678) 256-5395 charlie@... www.newatlanta.com/bluedragon/ > -----Original Message----- > From: Jeff D. Chastain [mailto:lists@...] > Sent: Tuesday, November 01, 2005 3:17 PM > To: Ajax > Subject: CFAjax - Permission denied to call method XMLHttpRequest.open > > I have a few minutes, so I thought I would see what all the > hype about AJax is. I downloaded CFAjax onto my server, but > when I try to run the examples, I am getting an error message > in Firefox ("Permission denied to call method > XMLHttpRequest.open") and a security warning in IE. When I > run the examples online however, things work fine. Is there > something special that needs to be setup on the server for > CFAjax to work? > > Thanks > -- Jeff > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:47:2005 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/47 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:47 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.47 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54 |
|
|
Re: CFAjax - Permission denied to call method XMLHttpRequest.openIt sounds like a same-origin policy that browsers enforce. Here is a php solution, I'm sure the same can be written in Cold Fusion.
http://glowfilter.com/articles/web/development/permission-denied-to-call-method-xmlhttprequest.open/
|
| Free Forum Powered by Nabble | Forum Help |