Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 27th, 2005, 07:19 AM
Authorized User
 
Join Date: Dec 2005
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default posting variables using response.redirect

hi
how can i pass three variables in response.redirect statement?
i've did it for one and its work but how can i do it for three?
Response.Redirect ("sellparts.asp?ID=" &ID)
the rest of variables are:
offer=&offer
flagnew=&flagnew
thank you


 
Old December 28th, 2005, 02:36 PM
Authorized User
 
Join Date: Nov 2005
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to x_ray
Default

i am using javascript,so i use + instead of & but i think the following code will work:

Response.Redirect("sellparts.asp?ID="&ID&"offer="& offer&"flagnew="&flagnew)


 
Old December 28th, 2005, 08:30 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

That wont work you need the & to make it work:

Response.Redirect("sellparts.asp?ID="&ID&"&offer=" &offer&"&flagnew="&flagnew)

Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
Response.Redirect with Variables jroxit Classic ASP Basics 1 April 4th, 2007 06:41 PM
response.redirect sarah lee ASP.NET 1.0 and 1.1 Basics 1 October 27th, 2006 08:57 AM
response.redirect ava_h .NET Framework 2.0 0 October 18th, 2006 10:21 PM
posting variables using redirect arabuafef Classic ASP Basics 1 December 28th, 2005 08:43 PM
response.redirect crmpicco Classic ASP Basics 3 February 9th, 2005 01:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.