Redirect with Querystring

Results 1 to 2 of 2

Thread: Redirect with Querystring

  1. #1
    Join Date
    Dec 1969

    Default Redirect with Querystring

    I am running into a very basic problem. I am trying to have a redirect statement with the url including a querystring. What I have right now is:<BR><BR>Response.Redirect "/scripts/guestbook/?ID=&#039;" & Request.Querystring("ID") & "&#039;"<BR><BR>It runs into an error though and I do not know how to get it to include the ID.

  2. #2
    Join Date
    Dec 1969

    Default RE: Redirect with Querystring

    Try:<BR><BR>Response.Redirect "/scripts/guestbook/xxx.asp?ID=&#039;" & Request.Querystring("ID") & "&#039;"<BR><BR>Change xxx.asp to whatever the page name is. If it is deafualt.asp then you have to add it in there:<BR><BR>Response.Redirect "/scripts/guestbook/default.asp?ID=&#039;" & Request.Querystring("ID") & "&#039;"

Posting Permissions

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