Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Response.Redirect with Request.Querystring.

LEGEND ,
Jul 27, 2006 Jul 27, 2006
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.


TOPICS
Server side applications
267
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 27, 2006 Jul 27, 2006
LATEST
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



Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines