apparently my aspx file don't accept POST method

  • Thread starter Thread starter AA
  • Start date Start date
A

AA

I don't know what is happend but i create a very simple form thats send data
using the POST method

<form action="default.aspx" method="post">
<Input Type="Text" Name="testField"><Input Type="Submit">
</form>


The in my aspx I put this code in the Page_Load sub.

Response.Write(Request.HttpMethod)


And the result is always "GET", I need to send the form using POST, I don't
know why the Page always show GET as the Method

I have my IIS aspx config Verbs to..

GET,HEAD,POST,DEBUG


Help me!!

Thanks!!

AA
 
Are you sure there isn't a redirection after the form submission? Could you
post default.aspx here?

Jerry
 
Back
Top