I am part of a workgroup that is developing an .asp-based application. The decision has been made to use local variables, not session variables.
We pass variables to the next page when the user presses a button. We have alot of code like this...
<form method="POST" action="xxx.asp">
<input name="x1" type="hidden" value="<%=x1%>">
<td><p><input type="submit" value="go to next page" name="B1"></p></td>
</form>
Then, when xxx.asp loads, we have code like this...
x1=request.form("x1"
Unfortunately, I have a problem. I have a page that momentarily loads, does a bunch of .asp stuff, and then vanishes through a response.redirect. In this situation, I can't use the button trick to "send" the variables. The user never even sees the page, so he can't press a button.
How do I say, "when you do the response.redirect, hand off these values..."???
We pass variables to the next page when the user presses a button. We have alot of code like this...
<form method="POST" action="xxx.asp">
<input name="x1" type="hidden" value="<%=x1%>">
<td><p><input type="submit" value="go to next page" name="B1"></p></td>
</form>
Then, when xxx.asp loads, we have code like this...
x1=request.form("x1"
Unfortunately, I have a problem. I have a page that momentarily loads, does a bunch of .asp stuff, and then vanishes through a response.redirect. In this situation, I can't use the button trick to "send" the variables. The user never even sees the page, so he can't press a button.
How do I say, "when you do the response.redirect, hand off these values..."???