I have problems with method POST when I use IIS 5.1 + IE 6.x on Windows XP professional.
When I use method GET that's OK.
For example:
Page HTML:
<form name="frm" action="results.asp" method="post">
<P>Login: <input type="text" name="login" size="15" value="mylogin">
<P><input type="submit" value="GO">
</form>
Page results.asp:
<%
Dim login
login = request.form("login"
%>
LOGIN = <%=login%>
Result:
1) Method Post:
LOGIN = Bad
2) Method Get:
LOGIN = mylogin OK
What's the problem with POST method?When I get the server variable REQUEST_METHOD it always returns as GET, No matter what I used in my form.
Many thanks in advance for responses.
Naser
When I use method GET that's OK.
For example:
Page HTML:
<form name="frm" action="results.asp" method="post">
<P>Login: <input type="text" name="login" size="15" value="mylogin">
<P><input type="submit" value="GO">
</form>
Page results.asp:
<%
Dim login
login = request.form("login"
%>
LOGIN = <%=login%>
Result:
1) Method Post:
LOGIN = Bad
2) Method Get:
LOGIN = mylogin OK
What's the problem with POST method?When I get the server variable REQUEST_METHOD it always returns as GET, No matter what I used in my form.
Many thanks in advance for responses.
Naser