
March 1st, 2005, 09:38 AM
|
|
Registered User
|
|
Join Date: Mar 2005
Posts: 2
Time spent in forums: 28 m 47 sec
Reputation Power: 0
|
|
|
POST data missing
Is there any reason why form data with method="POST" not work? If I use method="GET" the form data passes through no problem. But when method="POST", it's empty.
I'm guessing there's some security issue. My first thought was that the POST method needed to write the POST data to a temp file that the IUSR account didn't have access to. But I've made sure that the user has access to all files and folders and that didn't do anything. If I use Integrated Windows authentication, it works fine. But then if someone tries to access it from a different machine, they get prompted for username/password. The other odd thing is that if I use Anonymous access and set the user to the same username that I'm logged into locally, I get the same access problem.
Here's a sample ASP page that I've been trying:
Code:
<% @Language="JScript" %>
<html>
<body>
<pre>
Value="<% = Request.Form("test") %>"
</pre>
<form action="test.asp" method="post">
<input type="text" name="test">
<input type="submit">
</form>
</body>
</html>
So with Integrated Windows auth, I get Value="Stuff". With anonymous auth, I get Value="".
WTF!
|