-
Hi,
I have a problem with the following response.redirect
response redirect ("bmpcon2.asp?userid=1"&topleftx="&Lon1="&toplefty="Lat1="&brightx="&Lon2="&brighty="
&Lat2&")
When I try to run this via the browser, The error message the server cannot find the file, but the file is there , I try and run the .asp code without this code and it works fine.
Can you tell me what is wrong with the above code?
Lat1, Lat2 etc are the variables which are being passed
into topleftx, toplefty etc.
Is this the correct way of calling an asp page and passing values to this.
Please help
-
Hi raj2000
take all the speech marks ou apart from the first and last to get
response redirect ("bmpcon2.asp?userid=1&topleftx=&Lon1=&toplefty=Lat1&brightx=&Lon2=&brighty=&Lat2&")
then to collect them in the asp page use
myvar1 = request.querystring("userid")
myvar2 = request.querystring("topleftx")
etc.
Ian