I am hoping someone can lend a hand to this issue that I just can't solve. I have a page with several checkboxes which I named the checkbox with all the data that I want to send to subsequent pages. For example, checkbox named "expired1,6000000,fred,smith". I use Split to assign the values to an array. That array needs to make it's way to the next page. I don't know how to do it. Here is my code:
dim rowArray
dim recordArray()
r = 0
For Each Item in Request.Form
If Request.Form(Item).Count Then
For intLoop = 1 to Request.Form(Item).Count
if left(Item,7) = "expired" and Request.Form(Item)(intLoop) = "on" then
rowArray = split(item,",")
redim recordArray(4,r)
recordArray(0,r) = rowArray(0)
recordArray(1,r) = rowArray(1)
recordArray(2,r) = rowArray(2)
recordArray(3,r) = rowArray(3)
'I NEED TO SEND EACH recordArray OVER TO THE NEXT PAGE WHEN IT GETS POSTED. How do I do that?
'This line displays everything just fine. Just need to send this same data in a session variable or ??? to the next page.
response.Write recordArray(0,r) & " " & recordArray(1,r) & " " & recordArray(2,r) & " " & recordArray(3,r) & "<br>"
r = r + 1
end if
Next
End If
Next
Perhaps my approach is all wrong to begin with?
Thank you for any help you can provide!
dim rowArray
dim recordArray()
r = 0
For Each Item in Request.Form
If Request.Form(Item).Count Then
For intLoop = 1 to Request.Form(Item).Count
if left(Item,7) = "expired" and Request.Form(Item)(intLoop) = "on" then
rowArray = split(item,",")
redim recordArray(4,r)
recordArray(0,r) = rowArray(0)
recordArray(1,r) = rowArray(1)
recordArray(2,r) = rowArray(2)
recordArray(3,r) = rowArray(3)
'I NEED TO SEND EACH recordArray OVER TO THE NEXT PAGE WHEN IT GETS POSTED. How do I do that?
'This line displays everything just fine. Just need to send this same data in a session variable or ??? to the next page.
response.Write recordArray(0,r) & " " & recordArray(1,r) & " " & recordArray(2,r) & " " & recordArray(3,r) & "<br>"
r = r + 1
end if
Next
End If
Next
Perhaps my approach is all wrong to begin with?
Thank you for any help you can provide!