Javascript: What is the recommended way to pass urls as url parameters?
<p>Using '&amp;url='+encodeURIComponent(url); to pass a URL from browser to server will encode the url but when it is decoded at the server, the parameters of url are interpreted as seperate parameters and not as part of the single url parameter.</p>

<p>What is the recommended way to pass urls as url parameters ?</p>
