Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Based on Mike's answer, the easiest solution in your case would be to use "parameter hiding" to convert all GET parameters into a single URL.</p> <p>The most scalable way would be for each 'folder' in the URL to consist of the parameter, then a comma, then the value. For example you would use these URLs in your app:</p> <blockquote> <p><code>http://example.com/app/param,value/otherparam,othervalue</code> <code>http://example.com/app/param,value/thirdparam,value3</code></p> </blockquote> <p>Which would be the equivalent of these:</p> <blockquote> <p><code>http://example.com/app?param=value&amp;otherparam=othervalue</code> <code>http://example.com/app?param=value&amp;thirdparam=value3</code></p> </blockquote> <p>This is pretty easy on Apache with .htaccess, but it looks like you're using IIS so I'll leave it up to you to research the exact implementation.</p> <p>EDIT: just came back to this and realised it wouldn't be possible for you to implement the above on a different domain if you don't own it :p However, you can do it server-side like this:</p> <ul> <li>Set up the above parameter-hiding on your own server as a special script (might not be necessary if IE doesn't mind GET from the same server).</li> <li>In Javascript, build the static-looking URL from the various parameters.</li> <li>Have the script on your server use the parameters and read the external URL and output it, i.e. get the content server-side. <a href="https://stackoverflow.com/questions/381596/asp-equivalent-of-curl-not-asp-net">This question</a> may help you with that.</li> </ul> <p>So your iframe URL would be:</p> <blockquote> <p><code>http://yoursite.com/app/param,value/otherparam,othervalue</code></p> </blockquote> <p>And that page would read and display the URL:</p> <blockquote> <p><code>http://externalsite.com/app?param=value&amp;otherparam=othervalue</code></p> </blockquote>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload