tags:

views:

14

answers:

0

I have the simplest of forms written using classic ASP:

<html>
<head><title>Test</title>
</head>
<body>
<form action="testpost.asp" method="post">
Say something: <input type="text" name="something" id="something" />
<input type="submit" value="Submit" />
</form>

<% Response.Write(Request.Form)
Response.Write("hello")
%>
</body>
</html>

The form should write to html document whatever was written in the 'something' text box when the submit button is clicked. I have set this form up because of errors that have started occurring in existing code. Having set up this test form and tested I found that the errors were a result of values not being posted from forms in this particular directory.

Using the above script in the problem directory, I get the desired behaviour. However, in IE I'm not getting anything posted. If I rename the directory that the script above is in then it works in IE. Also, I tried using the Charles HTTP debugging proxy - whilst enabled the script worked in IE in the problem directory!

I've checked IIS settings but can't see any obvious reason as to why this would be happening. Any ideas why this strange behaviour is occurring? (i've tried an iis restart)