Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Pass Array in QueryString


Message #1 by william.sze@s... on Wed, 21 Nov 2001 16:22:03 -0500

Hi everyone,



I wish someone wouuld offer me some hints on the following situations:



I have 4 asp files: test.asp, parent1.asp, parent2.asp, save.asp

Firstly, user input on test.asp. According to user's two inputs, v1 & v2,

they are passed/redirect (QueryString method) to save.asp to create a

Recordset , then uses GetRows to obtain an array, arrTop.

Case 1, record is saved and redirect back to test.asp

Case 2, prompt message and redirect back to test.asp

Case 3, no record is saved, redirect to parent1.asp passing v1, v2

(QueryString method).



Secondly, user need to further input data in parent1.asp, say v3, v4 & v5.

After client side validation, variables v1, v2, v3, v4 & v5 are passed to

parent2.asp using POST method.



Thirdly, in parent2.asp, it uses v1 & v2 to create another array arrTop2

(which is similar to arrTop). Then data v1, v3, v4 & v5 are saved as 3

records in table1 and v1 & v2 are saved in 1 record of table2. Then

redirect to test.asp (QueryString method).



The issue is on Case3. Is it possible to pass the arrTop from save.asp to

parent1.asp and then to parent2.asp? It is because I want to avoid the

creation of RS and then arrTop2 again in parent2.asp.



Thanks

William




  Return to Index