The following program submit a FORM DATA to a new window using HTTP POST,
and postprocess.asp couldn't get the form data. If I do in GET method and
pass by
query string in windowURL, then it works. But I need HTTP POST method, are
there
any workarounds?
<html>
<script type="text/javascript">
function checkAndSubmitForm(theForm)
{
var windowURL = theForm.action;
window.open(windowURL, "newWin",
"scrollbars=0,menubar=0,toolbar=0,location=0,statu s=0");
}
</script>
<body>
<FORM NAME="formname" method="POST" action="postprocess.asp">
<P><input type=text" name="username"/>
<P><input type="button" name="submitBtn" value="Submit Form"
onClick="checkAndSubmitForm(document.formname)">
</FORM>
</body>
</html>
postprocess.asp is just one line statement to get the form data
<%= Request.Form() %>
any ideas? please help!! thanks!!