How to store an array into a session variable
Posted on 2006-07-17
How can I store the files that the user attaches to the application into an array, and then into a session variable?
Every time the user clicks this button:
<input type = "submit" value = "Save and Attach Another" name = "attachBtn" id = "attachBtn">
a parth telling me where the file is located on the user's computer is saved in this: Upload.Form("file1")
But I would like to add it to an array, and then to a session variable.
Can you help?
for i = 1 to ?!?!?!?
MyArray(i) = Upload.Form("file1")
'Storing the array in the Session object.
Session("StoredArray") = MyArray