S
Scott
I'm trying to create a link (SEE LINK BELOW) to a pop-up window
(myPopUp.asp). My problem is my sTargetPage variable is a url containing a
querystring variable. When myPopUp.asp opens and I get my sPage query string
value, it returns myTargetpage.asp?qs=1 and clips the 2nd querystring value
pair.
Can someone help me construct a link so myPopUp.asp preserves the entire
query string? I tried using the Server.HtmlEncode comand in "FAILED ATTEMPT"
below, but I'm still losing any querystring pairs after the 1st qs pair.
PAGE VARIABLE: sTargetPage="myTargetpage.asp?qs=1&qs=2"
LINK: http://www.cnn.com/myPopUp.asp?sPage=" & sTargetPage
FAILED ATTEMPT: myPopUp.asp?sPage=" & Server.HtmlEncode(sTargetPage)
(myPopUp.asp). My problem is my sTargetPage variable is a url containing a
querystring variable. When myPopUp.asp opens and I get my sPage query string
value, it returns myTargetpage.asp?qs=1 and clips the 2nd querystring value
pair.
Can someone help me construct a link so myPopUp.asp preserves the entire
query string? I tried using the Server.HtmlEncode comand in "FAILED ATTEMPT"
below, but I'm still losing any querystring pairs after the 1st qs pair.
PAGE VARIABLE: sTargetPage="myTargetpage.asp?qs=1&qs=2"
LINK: http://www.cnn.com/myPopUp.asp?sPage=" & sTargetPage
FAILED ATTEMPT: myPopUp.asp?sPage=" & Server.HtmlEncode(sTargetPage)