Results 1 to 2 of 2

Thread: problems with response.redirect

  1. #1

    Thread Starter
    Member
    Join Date
    May 2000
    Location
    London, UK
    Posts
    39

    Cool

    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


  2. #2
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    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


    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width