A
Aaron
hello. i have the following in a form that submits to itself ...
<%
dim page, strurl, strurldesc
page = trim(request.servervariables("script_name"))
strurl = trim(request.form("strurl"))
strurldesc = trim(request.form("strurldesc"))
if request.totalbytes > 0 then
savelink strurl, session("uid"), strurldesc
%>
<script>
window.opener.navigate(window.opener.document.location.href);
window.close();
</script>
<%
end if
%>
<form name="Form" action="<%=page%>" method="post">
<snip />
</form>
Is this 'alright', or is there a better method for submitting the form
to itself?
<%
dim page, strurl, strurldesc
page = trim(request.servervariables("script_name"))
strurl = trim(request.form("strurl"))
strurldesc = trim(request.form("strurldesc"))
if request.totalbytes > 0 then
savelink strurl, session("uid"), strurldesc
%>
<script>
window.opener.navigate(window.opener.document.location.href);
window.close();
</script>
<%
end if
%>
<form name="Form" action="<%=page%>" method="post">
<snip />
</form>
Is this 'alright', or is there a better method for submitting the form
to itself?