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. 7 2955
> 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.
"Ihor Bobak" <Ihor Bo***@discussions.microsoft.com> wrote in message
news:DF**********************************@microsof t.com... 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.
The problem is I can't afford $250 for this program.
Thanks,
Tom.
tshad wrote: "Ihor Bobak" <Ihor Bo***@discussions.microsoft.com> wrote in message news:DF**********************************@microsof t.com... 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.
The problem is I can't afford $250 for this program.
Try Fiddler ( www.fiddlertool.com) -- it's free.
Cheers,
--
Joerg Jooss jo*********@gmx.net
"Joerg Jooss" <jo*********@gmx.net> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl... tshad wrote: "Ihor Bobak" <Ihor Bo***@discussions.microsoft.com> wrote in message news:DF**********************************@microsof t.com... 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. The problem is I can't afford $250 for this program.
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. Cheers,
-- Joerg Jooss jo*********@gmx.net
"Joerg Jooss" <jo*********@gmx.net> wrote in message news:<#8**************@TK2MSFTNGP15.phx.gbl>... tshad wrote: "Ihor Bobak" <Ihor Bo***@discussions.microsoft.com> wrote in message news:DF**********************************@microsof t.com... 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.
The problem is I can't afford $250 for this program.
Try Fiddler (www.fiddlertool.com) -- it's free.
Cheers,
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.
Michael
"Michael" <Mi*************@yahoo.com> wrote in message
news:86*************************@posting.google.co m... "Joerg Jooss" <jo*********@gmx.net> wrote in message news:<#8**************@TK2MSFTNGP15.phx.gbl>... tshad wrote: > "Ihor Bobak" <Ihor Bo***@discussions.microsoft.com> wrote in message > news:DF**********************************@microsof t.com... >>> 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. > > The problem is I can't afford $250 for this program. Try Fiddler (www.fiddlertool.com) -- it's free.
Cheers,
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. Michael This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Sean W. Quinn |
last post by:
Hey folks,
I have a question regarding file handling, and the preservation of class
structure. I have a class (and I will post snippets of code later in the
post) with both primitive data...
|
by: news.onet.pl |
last post by:
Hello
I'm biting into the following problem: HTTP is stateless protocol
and thus net languages' designer had to find out session. As
far as I know session handling in any of the language (PHP,...
|
by: Al Smith |
last post by:
I need help in implementing proper error handling.
I am trying to upload a file based on the sample code below. The code works
well except if the file selected is too big.
I do know about the...
|
by: SMAccount |
last post by:
According to Microsoft, The Page.RegisterRequiresPostBack Method
"Registers a control as one that requires post-back handling."
Is "post-back handling", something that the Page Does?
Is...
|
by: scsharma |
last post by:
Hi,
I am working on creating a webapplication and my design calls for creating
main webform which will have menu bar on left hand side and a IFrame which
will contain all the forms that are shown...
|
by: Sridhar |
last post by:
Hi,
I have created a web page which includes a place holder. I also have a
dropdown list in that webpage. when I select one of the choices in that
dropdown list, It will load a user control...
|
by: Anthony England |
last post by:
(sorry for the likely repost, but it is still not showing on my news server
and after that much typing, I don't want to lose it)
I am considering general error handling routines and have...
|
by: jeffc226 |
last post by:
I'm interested in an idiom for handling errors in functions without
using traditional nested ifs, because I think that can be very awkward
and difficult to maintain, when the number of error checks...
|
by: George2 |
last post by:
Hello everyone,
Such code segment is used to check whether function call or exception-
handling mechanism runs out of memory first (written by Bjarne),
void perverted()
{
try{
|
by: Omar Abid |
last post by:
Reason of this project:
Error handling is one of the most difficult thing that may afford a
programmer. It isn't as easy as you think and handling errors in a
program some time can make errors...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |