passing url with querystring

Results 1 to 2 of 2

Thread: passing url with querystring

  1. #1
    Allen Weiss Guest

    Default passing url with querystring

    I am successfully passing part of a url as a querystring to a page. Let&#039s call the url that is passed: <BR>/temp/folder/file.asp<BR><BR>Now I want to use response.redirect to go to that url, but I don&#039t know what to use as the file in the response.redirct statement. I can&#039t just put in the querystring since that is not being interpreted as a file. Is there some way to response.redirect using this querystring?<BR><BR>Thanks for any help on this.<BR><BR><BR><BR><BR>

  2. #2
    chogdog Guest

    Default RE: passing url with querystring

    Response.Redirect only requires a string argument. If the directory structure is /temp/folder/file.asp it is going to root and then looking for temp/. If that is what you want, then this should work.<BR><BR>Dim myurl <BR>myurl = Request.QueryString("someurl")<BR>Response.Redirec t(myurl)<BR><BR>If the temp/ folder is a child of whatever folder you are currently in, you should remove the leading "/"

Posting Permissions

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