request querystring

Posted: 02-24-2005, 08:35 PM
Using the querystring collection in ASP, I'm declaring variables and setting
each variable equal to querystring values: <% Dim x Dim y Dim z x =
Request.QueryString('var1') y = Request.QueryString('var2') I want to
concatenate these values: z = x &amp; y Then I want to return the value of z
in a QueryString: Response.Redirect('mypage.asp?newVariable=z') I've tried the
above, but it's not working. How can I do this? Thanks, -D-

Reply With Quote

Responses to "request querystring"

CMBergin
Guest
Posts: n/a
 
Re: request querystring
Posted: 02-24-2005, 09:58 PM
x = Request.QueryString("var1")
y = Request.QueryString("var2")
z = x & y
Response.Redirect("myPage.asp?newvariable=" & z)

"-D-" <webforumsuser@macromedia.com> wrote in message
news:cvldq8$m27$1@forums.macromedia.com...
> Using the querystring collection in ASP, I'm declaring variables and
setting
> each variable equal to querystring values: <% Dim x Dim y Dim z x =
> Request.QueryString('var1') y = Request.QueryString('var2') I want to
> concatenate these values: z = x &amp; y Then I want to return the value
of z
> in a QueryString: Response.Redirect('mypage.asp?newVariable=z') I've
tried the
> above, but it's not working. How can I do this? Thanks, -D-
>

Reply With Quote
 
LinkBack Thread Tools Search this Thread Display Modes
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
QueryString with Flex evandroaraujo Macromedia Flex General Discussion 1 03-23-2005 03:47 PM
ASP validation of Querystring SiameseJ71 Dreamweaver AppDev 2 02-25-2005 04:39 PM
Queue Cfhttp Request tml65 Macromedia ColdFusion 8 02-16-2005 09:40 PM
Request thread id Naval ASP Components 0 07-03-2003 11:32 AM
Promo page without using QueryString Jack ASP 0 07-02-2003 05:00 AM