Click to See Complete Forum and Search --> : auto suhmission of form.


preetilak
07-25-2005, 10:15 PM
I am passing some variables to the back end and I nees to pass these to another template. Is there a code in HTML or ASP to auto submit a form to the other template? I so not want to pass these variahles thro'
URL.

Kravvitz
07-25-2005, 11:18 PM
What do yuo mean by template?

<form ... method="post">

You can use JavaScript to submit a form.

preetilak
07-26-2005, 07:13 AM
I am trying to pass the variables from one asp page to another asp page on the backend. So I cannot have a submit button. I need to auto submit the variabls from aspage1.asp whose code is as follows....


<%
if () then
<form method="post" action="aspage2.asp>
.....
....(how to auto submit these values?)
....
</form>
else
....
....
....
end if
%>

ray326
07-26-2005, 11:48 PM
If they need a life longer than one MVC cycle then put them in the Session.

preetilak
07-27-2005, 09:51 PM
How to expire selected sessions in ASP?