[thelist] ajax question, server vs. client request

Matt Warden mwarden at gmail.com
Fri Aug 12 14:13:44 CDT 2005


On 8/12/05, Anthony <apwebdesign at yahoo.com> wrote:
> I'm thinking of doing an ajax site, which will query
> craiglist rss feeds. I've read a little bit about
> xmlhttprequest function, used by ajax sites, my
> question is, will the request to the craiglist server
> be coming from my server ip, or the browser/client ip
> address?

Your ajax app will need to proxy the request through your server,
because XMLHTTP and variants can only open URIs with the same server
name as the application, for security reasons.

-- 
Matt Warden
Miami University
Oxford, OH, USA
http://mattwarden.com


This email proudly and graciously contributes to entropy.


More information about the thelist mailing list