473,408 Members | 1,762 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Problem with postback in ie on same machine....

On of my associates has been having problmes with a postback to self in IE
using Localhost...

We are trying to figure out why and how to fix it. He has already posted
here, but to make sure the MSDN subsriber help is exercised, I am posting it
here again using my nospam address.

Sorry for the duplicate posting, but I would like to resolve this issue...

Original post to follow -- from tshad -- probably only one or two threads
down....

Thanks
Rob

-------------------------------------------------------------------------------------------

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.

Nov 18 '05 #1
1 1727
works fine for me. probably an IE bug. on the postback, look at the postdata
to see what IE is sending.

-- bruce (sqlwork.com)
"rl******@nospam.nospam" <rl******************@discussions.microsoft.com>
wrote in message news:75**********************************@microsof t.com...
On of my associates has been having problmes with a postback to self in IE
using Localhost...

We are trying to figure out why and how to fix it. He has already posted
here, but to make sure the MSDN subsriber help is exercised, I am posting it here again using my nospam address.

Sorry for the duplicate posting, but I would like to resolve this issue...

Original post to follow -- from tshad -- probably only one or two threads
down....

Thanks
Rob

-------------------------------------------------------------------------- -----------------
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.

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: fripper | last post by:
I posted this problem a couple of days ago but felt I might have better luck re-stating the problem. Apparently I messed up IIS (v. 5) somehow because I am suddenly unable to load web forms! A...
1
by: Frankieboy | last post by:
I believe I've got a postback problem on our site. The strange thing is that everything works fine on my developing version, but not on the production site. I'm wondering if there may be different...
1
by: Rhys | last post by:
I have a page which has an IFrame on it. The src of the IFrame is a page with a datagrid on it. The Datagrid has bound template columns. The columns of the datagrid pass the bound data value of...
2
by: Helge Kalnes | last post by:
We are running an ASP.NET application on a cluster of 3 web-servers, using the Network Load Balancing feature of Application Center. We have synchronized the machineKey in machine.config on the 3...
6
by: hlubocky | last post by:
I thought I had a good grasp of the problem related to dynamically creating controls, but it appears that as my application grew in complexity, the problem has resurfaced. As I understand it, in...
7
by: Cenk | last post by:
Hi, After converting my projects to ASP.Net 2.0 I have seen a problem with Page_unload. Ä°n framework 1.1 page_unload event fires when you are leaving the page or has closed the browser window....
4
by: Morten Wennevik | last post by:
Hi I have a web page that contains a button doing some simple code. On the development machine this works as expected, but on the client machine, the button triggers a postback, but the events...
0
by: ors.public.email | last post by:
Hi, My company has recently experienced an issue when posting back aspx pages across multiple servers that were being load balanced. In a nutshell, the problem involved initially loading the...
8
by: Chris Cap | last post by:
I am getting some strange behavior when using RaiseCallbackEvent. I have a form that implements ICallbackEventHandler. During the client callback, a session variable is set that is used on the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.