Page 1 of 1

Static Count

Posted: Mon Jun 15, 2009 8:54 am
by MikeEller
Hello,

I have a project where I need to keep a running count.
I have a form. When the user clicks on the save button, I need the two form values from input text boxes to be written to file. That works fine.
I also want to keep a running count of how many saves the user does. The user is creating a list. Each list item will be bookmarked in the resulting HTML file. I wanted to capture the number when the user clicks the save button and use that value in the bookmark link. Then I need to increment the number.
I have tried using session variables and static variables. Something occurs during the submit...I am guessing it is sending the data to the server...so the increment only happens once.

Is there a way to let the user enter as many items as he needs, capture that data, and then submit it all at once?


Thanks in advance.

ton80