J
Jag
Hi
I am facing a strange issue. I have 3 ASP pages in the default
website
1. auth.aspx
2. anon.aspx
3. resp.aspx
In IIS, auth.aspx is set to have Integrated Windows Authentication.
The
other two have anonymous access.
Here are the actions I perform on IE7.
1. Navigate to http://localhost/anon.aspx
2. Type some text and submit the form.
3. The response shows the number of bytes correctly.
4. Click the back button on browser.
5. Navigate to auth.aspx
6. Enter required credentials, if prompted. The page loads
successfully.
7. Go back to http://localhost/anon.aspx
8. Type some text and submit the form.
9. Strangely, the response shows that zero byte was posted.
So, whenever I go to a page with IWA enabled and then move onto a
page
with anonymous access, if a form exists in that page, and the form
submission method is POST, the submission fails. The only workaround
is to close the browser and open it again.
This does not happen in Mozilla Firefox.
This does not happen when I use Fiddler with IE7.
Could someone explain what's going wrong?
Thanks.
UNT,
Jag
I am facing a strange issue. I have 3 ASP pages in the default
website
1. auth.aspx
Code:
<html>
<body>
Auth Page
<br />
<a href = "anon.aspx">Anon Page</a>
</body>
</html>
2. anon.aspx
Code:
<html>
<body>
Normal Page
<form action = "resp.aspx" method = "post">
<input type = "text" name = "un" />
<input type = "submit" />
</form>
<br />
<a href = "auth.aspx">Auth Page</a>
</body>
</html>
3. resp.aspx
Code:
<html>
<body>
Bytes : <%= Request.TotalBytes %>
</body>
</html>
In IIS, auth.aspx is set to have Integrated Windows Authentication.
The
other two have anonymous access.
Here are the actions I perform on IE7.
1. Navigate to http://localhost/anon.aspx
2. Type some text and submit the form.
3. The response shows the number of bytes correctly.
4. Click the back button on browser.
5. Navigate to auth.aspx
6. Enter required credentials, if prompted. The page loads
successfully.
7. Go back to http://localhost/anon.aspx
8. Type some text and submit the form.
9. Strangely, the response shows that zero byte was posted.
So, whenever I go to a page with IWA enabled and then move onto a
page
with anonymous access, if a form exists in that page, and the form
submission method is POST, the submission fails. The only workaround
is to close the browser and open it again.
This does not happen in Mozilla Firefox.
This does not happen when I use Fiddler with IE7.
Could someone explain what's going wrong?
Thanks.
UNT,
Jag