Welcome Guest | Login

Subdomains & Cross-site scripting?

Hi, we're planning on having a rails app hosted on your server that will use subdomains to key the accounts within the app and a static website that will live in the 'www' subdomain.  Would it cause a cross-site scripting error if we had pages from the www area send ajax calls to the app?  In other words, will the different sub-domains cause a cross-site scripting error that will prevent the AJAX call from being sent?

2008-01-21 02:59 PM

Hi there - I believe as long as you make those AJAX calls with the full URL you'll be fine.  You'll probably need to pull out the ajax updater javascript code and enter this manually.  

2008-01-22 01:01 PM

Great, I've already coded the AJAX calls separately so  that's good news.  Thanks

2008-01-22 01:45 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!