Thursday, October 4, 2018

Grab URL line variables in Classic ASP, replace characters in them, and then make a new URL with them.

dim yin
dim yang
yin = Request.QueryString("yin")
yang = Request.QueryString("yang")
yin = Replace(yin,"&", "&")
yang = Replace(yang,"&", "&")
dim whereToGo
whereToGo = "someplaceelse.asp?yin=" & yin & "&yang=" & yang

 
 

There is a capital letter at the beginning of True or False boolean values while we are talking about Classic ASP.

No comments:

Post a Comment