IE 6.0 not handling POST on asp.net and XP

T

tshad

I have been trying to solve this problem for a while now and have it
narrowed down.

I am on an XP SP2 trying to run ASP.NET. The page I can't seem to get
to work is:


<%@ Page Language="VB" Trace="true" ContentType="text/html"
ResponseEncoding="iso-8859-1" %>

<script runat="server" language="VB">

Sub Page_Load(Sender As Object, E As EventArgs)
If Page.IsPostBack Then
Select cmbPeople.value
Case "Bill Gates"
Response.Redirect("http://www.microsoft.com/")
Case "Larry Ellison"
Response.Redirect ("http://www.oracle.com/")
Case "Steve Case"
Response.Redirect ("http://www.aol.com/")
Case Else
End Select
End If
End Sub
</script>

<html>
<body>
<form id="frmPeople" method="post" runat="server">
People

<select id="cmbPeople" runat="server">
<option></option>
<option>Bill Gates</option>
<option>Larry Ellison</option>
<option>Steve Case</option>
</select>

<input type="submit" value="Submit">
</form>
</body>
</html>

This code works fine on Mozilla and Netscape on the same machine.

If I change the form method to "get", it works everywhere.

The old file works fine on my other machine, however.

Why would IE have a problem with POST?

This only happens on my machine, running IE and IIS (as mentioned
Netscape and Mozilla running on the same machine work fine).

However, I just found that if I go to another XP machine and run the
page on my machine, it works fine.

For example:

My machine is 10.0.0.25 and is running IE and IIS and is an XP SP2.

If I run localhost/development/test10.aspx

It doesn't work.

I go to another machine and run:

10.0.0.25/development/test10.aspx

It works.

Why would this be?

Thanks,

Tom.
 
G

Guest

If I run localhost/development/test10.aspx
It doesn't work.

I go to another machine and run:

10.0.0.25/development/test10.aspx

It works.


There is a very nice tool called HttpWatch. Find it in google, install, and
see what is going on in IE when you make POST request.

HttpWatch is the first step to check with in such cases.
 
T

tshad

Ihor Bobak said:
There is a very nice tool called HttpWatch. Find it in google, install,
and
see what is going on in IE when you make POST request.

HttpWatch is the first step to check with in such cases.

The problem is I can't afford $250 for this program.

Thanks,

Tom.
 
T

tshad

Joerg Jooss said:
Try Fiddler (www.fiddlertool.com) -- it's free.

OK,

This is strange.

If I run the IE without activating fiddler, it doesn't work (works same as
before).

If Fiddler is active, it works correctly ?????

What is happening here?

Thanks,

Tom.
 
T

tshad

Michael said:
I can recommend IEWatch.com to check HTTP headers and POST requests.
Very easy to install and use and you can try a fully functional
version for 21 days.

I installed it on my computer, but can't seem to get it to do anything. The
little globe is there that says it is IEWatch, but nothing happens when I
click on it. Is there something special I need to do to get it to work?

Thanks,

Tom.
 

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

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,815
Latest member
treekmostly22

Latest Threads

Top