I set up a sequence of asp pages, which pass a variable containing the name of the initial page through the sequence. In this way I can insure that the user cannot open the maintenance pages directly, but must go through the login page first. The sequence goes as follows: MASLogin.asp, MASMaint_01.asp, MASMaint_02.asp, and MASMaint_03.asp. At the end of the sequence, the user clicks the Exit button on page MASMaint_03. This button calls up page MASMaint_01.asp which allows the user to enter another record. The code in question is listed below:
On page MASLogin.asp:
strSendForm = “MASLogin.asp”
<input id="SendForm" name="SendForm" type="text" value="<%=strSendForm%>"</td>
On all other pages:
strSendForm = Request.Form("SendForm")
<input id="SendForm" name="SendForm" type="text" value="<%=strSendForm%>"</td>
Everything works fine through the sequence, however, when the user goes to enter a new record on page MASMaint_01, the variable no longer contains the data. It seems that when you call up a sequence of screens and then begin back on the first one, something must be cleared out of memory for it to work properly. Does anyone have any ideas?