Skip to main content
Inspiring
July 27, 2006
Question

Response.Redirect with Request.Querystring.

  • July 27, 2006
  • 1 reply
  • 266 views
Could someone please tell me the correct ASP syntax for the following:

Response.Redirect "page.asp"?TheDate=<%Request.Querystring(Date1)%>

I have tried various ways but keep getting syntax errors.


This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Inspiring
July 27, 2006
You cannot nest script tags.
Correct code would be:

Response.Redirect("page.asp?TheDate=" & Request.Querystring("Date1"))

Cheers,
Rob
http://robgt.com/ [Tutorials and Extensions]
Firebox stuff: http://robgt.com/firebox
Skype stuff: http://robgt.com/skype
Dell stuff: http://robgt.com/dell
SatNav stuff: http://robgt.com/satnav