Print Page | Close Window

Response.Redirect... Question...?

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=9415
Printed Date: 01 April 2026 at 1:00am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Response.Redirect... Question...?
Posted By: zerohero
Subject: Response.Redirect... Question...?
Date Posted: 31 January 2004 at 7:54am

hi all...

how can i pass <%=Request.QueryString("CP")%> with Response.Redirect...?

i have tried this below...but it doesn't work...?

Response.Redirect "../login.asp?CP=<%=Request.QueryString("CP")%>"

any suggestions wud be gratefully recieved...

cheers'
ben...




Replies:
Posted By: Semikolon
Date Posted: 31 January 2004 at 8:00am
Response.Redirect("../login.asp?CP=" & Request.QueryString("CP"))


Posted By: zerohero
Date Posted: 31 January 2004 at 8:08am

thanks fella...

added the " ...



Posted By: pmormr
Date Posted: 31 January 2004 at 7:42pm
what do you mean by "added the "..."... that code should be put into a page exactly like this

<%
Response.Redirect("../login.asp?CP=" & Request.QueryString("CP"))
%>

nothing to add or change


-------------
Paul A Morgan

http://www.pmorganphoto.com/" rel="nofollow - http://www.pmorganphoto.com/


Posted By: zerohero
Date Posted: 01 February 2004 at 4:07am
when Semikolon first posted it... there was no " ...at the beginning...


Posted By: Semikolon
Date Posted: 01 February 2004 at 5:26am

it was like this Response.Redirect(../login.asp?CP=" & Request.QueryString("CP")) when i posted.. but i edited it less then a minute after




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net