apparently my aspx file don't accept POST method

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
 
J

Jerry Pisk

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

Jerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top