I have an ASP page that inserts a new row into the database, queries the identification field on that row, and then redirects to another page with the identification number.
I do this by outputting the number into the URL as a querystring, but I want to avoid using querystrings as much as possible. I'd like to put the number into a hidden field on a form and then immediately submit the form to get to the next page with the number in the form results.
Since I have little experience with Javascript and the rest of this page is VBScript, I'd like to do this in VBScript. The form code would look like:
<FORM method="post" action="PRStartStep1.asp">
<INPUT Type="hidden" value="<% response.write(PRid) %>" name="PR">
</FORM>
How can I make it submit without user interaction?
Cheryl dc Kern
I do this by outputting the number into the URL as a querystring, but I want to avoid using querystrings as much as possible. I'd like to put the number into a hidden field on a form and then immediately submit the form to get to the next page with the number in the form results.
Since I have little experience with Javascript and the rest of this page is VBScript, I'd like to do this in VBScript. The form code would look like:
<FORM method="post" action="PRStartStep1.asp">
<INPUT Type="hidden" value="<% response.write(PRid) %>" name="PR">
</FORM>
How can I make it submit without user interaction?
Cheryl dc Kern