I have a javascript function as folows
function show(url)
{
window.open('access_wind.asp?displayurl='+url+'&fl ag=1');
}
Now as you can see the url passed to the funcion is again being passed to an ASP access_wind.asp using query string.
If the url passed is simple like
http://www.google.com there is no problem but assume the url itself has some query string parameters,say
"http://www.google.com?srch=sa&find=ba"
now the access_wind.asp is called as follows
"access_wind.asp?displayurl=http://www.google.com?srch=sa&find=ba&flag=1
now this flag is a query string passed to access_wind.asp not
www.google.com,how do we handle this situation,is there any workaround for this,any encoding or is it possible to separate the query string passed to access_wind and google.com.
Pl. help,as this is very urgent