June 10th, 2011, 10:25 AM
Submitting a large form - takes too long?
I am using VBScript and I have a rather large form (it has about 2000 rows, each of which has 4 fields + 4 hidden fields => about 2000 * 8 = 16000 fields in total being submitted). I am submitting this form from script.asp to itself (the idea is that when the form is submitted some totals are recalculated based on what the user changed).
The first time the script loads it fetches all 16000 values from an Access database and that takes 1-2 seconds. When the form is submitted the script takes about 15 seconds to load, even if I remove all server-side code/processing (which means that the action of sending the form and transmitting those fields alone takes about 15 seconds). I was wondering:
1) Is this performance expected? i.e. 15 seconds for sending 16000 form fields over http post
2) How can this be improved (and is it even possible)?
Thanks in advance.
June 10th, 2011, 02:23 PM
If anyone has better ideas/suggestions I'd still love to hear them though.