Hello,
currently I am writing a little service for website owners. these owners can register their site in my application und get more information about it.
the information will be posted in a layer above an iframe containing their site. to get the specified information i want to get data from a jsonp webservice.
this webservice reads the request header, is it possible to transmit the url of the iframe in the header "referer" instead of my url?
i already tried:
- jQuery.ajaxSetup({
- 'beforeSend': function (xhr) { xhr.setRequestHeader("Referer", $('#siteframe').attr('src')); }
- });
but this do not seem to work :-(
hope you can help me