| re: Problem with postback in ie on same machine....
works fine for me. probably an IE bug. on the postback, look at the postdata
to see what IE is sending.
-- bruce (sqlwork.com)
"rlynch99@nospam.nospam" <rlynch99nospamnospam@discussions.microsoft.com>
wrote in message news:7514680B-8E5F-4984-92E6-FE532A1A8D35@microsoft.com...[color=blue]
> 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[/color]
it[color=blue]
> 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
>
> --------------------------------------------------------------------------[/color]
-----------------[color=blue]
>
> 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[/color]
get[color=blue]
> 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.
>
>
>[/color] |