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 February 14th, 2007, 02:36 PM
Registered User
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default querystring + database + redirect

hello all noob here,

here is my question.

i send my user an email containing a link requesting his further actions. the link goes something like this


when he clicks it, he comes to the above link where he has to press submit(interimpage) to proceed to the actual page(finalpage) where he can act further.

what is happening here is, based on the 'id' in the querystring, user specific data is being retrieved from the database, and is used in the finalpage.

i want to eliminate the need for the user to press submit in the interimpage and get him to the finalpage by using the querystring value and response.redirect him to finalpage.


i have checked for request.querystring and am able to use that value to retrieve data from the database, but I am having a problem with passing the values to the finalpage using response.redirect("finalpage.asp").

I read somewhere that querystring values cannot be used to pass values using response.redirect to the next page.

Is this true? if it is, is there any workaround for this?

thanks in advance,

Old February 14th, 2007, 03:08 PM
Friend of Wrox
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts

Question one: Who told you that querystring values cannot be used to pass values using response.redirect to the next page?

Question two: Why haven't you tried it?

After trying it, then come back and tell us your experience. That is how you become an expert - by having experiences.

Hint: You won't need a work-around: response.redirect("finalpage.asp?myVar=123").

Woody Z

Similar Threads
Thread Thread Starter Forum Replies Last Post
using a querystring to retrieve data from database GOOGLEILDWCOM ASP.NET 1.0 and 1.1 Basics 1 October 9th, 2008 02:37 PM
using querystring melkin Classic ASP Basics 7 April 1st, 2008 09:07 AM
redirect querystring with session value alxtech Classic ASP Professional 1 July 16th, 2007 07:06 AM
Querystring or not? myself Classic ASP Basics 4 July 4th, 2006 09:01 AM

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