QueryString after Redirect - get method -> 1.asp redirect -> 2.asp Can I get data ?
Okay. ready?
Active Page 1 constructs a page and sends it to the client. On that page are forms. Form A has an action to execute an activer server page called Determine.asp. Form A also has three buttons on it. When any of the three buttons on Form A are pressed Determine.asp is started on the server.
If the user pressed Button 1 then Determine.asp completes execution. If the user pressed Button 2 control needed to be passed from Determine.asp to Option2.asp. If Button 3 something else would happen.
Now when button 2 is pressed and Determine.asp passes control to Option2.asp there is a need for Option2.asp to access the data from the original form, Form A. Got it so far?
Now data was collected from the user on Form A on the original page. Option2.asp needs to access that data. Using a QueryString/Get approach origination from Form A data is passed to Determine.asp in the format of a QueryString. When Determine.asp initiates it has access to the QueryString from Form A. Determine.asp is now going to transfer control to Option2.asp. The question is how does Determine.asp pass the QueryString that it got from Form A to Option2.asp?
Again I have solved this by adding a question mark and the QueryString onto the Response.Redirect statement. The Response.Redirect looked like
Response.Redirect "Option2.asp?" & Request.QueryString & ""
Thanks for the read of this. Hope that it makes since. If not could be we delete this whole deal.
sergiob posted this at 21:48 — 8th October 1999.
They have: 52 posts
Joined: Jul 1999
WHAT? did I missed something here?
mnea461 stop and breath for a moment, now... could you please explain your problem in context. Tell us what are you talking about.
----------
buscanegocios.com
Anonymous posted this at 01:10 — 9th October 1999.
They have: 5,633 posts
Joined: Jan 1970
I received an e-mail from mnea461 stating that he had resolved this problem.
----------
Dynamic Internet Solutions : http://www.dids.com
UNIX and Windows NT Hosting
JP Stones posted this at 02:08 — 10th October 1999.
They have: 2,390 posts
Joined: Nov 1998
cool
JP
----------
[red]The Next Step in Website Development [/red] - http://www.what-next.com
The Webmaster Promotion and Resource Center
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.