[Mono-bugs] [Bug 70446][Wis] New - mutual Response.Redirect fail

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 10 Dec 2004 16:04:21 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by guerrero747@hotmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=70446

--- shadow/70446	2004-12-10 16:04:21.000000000 -0500
+++ shadow/70446.tmp.8084	2004-12-10 16:04:21.000000000 -0500
@@ -0,0 +1,96 @@
+Bug#: 70446
+Product: Mono: Tools
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: XSP
+AssignedTo: gonzalo@ximian.com                            
+ReportedBy: guerrero747@hotmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mutual Response.Redirect  fail
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+ There are two pages each one call the other with Response.Redirect, after
+3 clicks XSP seems to hang
+
+Steps to reproduce the problem:
+1. Click Button to go the other page a couple of times
+
+How often does this happen? 
+
+always
+
+Additional Information:
+
+TEST1.ASPX
+
+<%@ Page Language="C#" %>
+<script runat="server">
+    void ButtonPageA_Click(object sender, EventArgs e)
+    {
+        System.Console.WriteLine("Test1: Pre-redirect");
+        Response.Redirect("test2.aspx");
+        System.Console.WriteLine("Test1: Post-redirect");
+    }
+
+</script>
+<html>
+<head>
+</head>
+<body>
+    <form runat="server">
+        <p>
+            <asp:Label id="LabelPageA" runat="server">PageA</asp:Label>
+        </p>
+        <p>
+            <asp:TextBox id="TextBoxPageA" runat="server"></asp:TextBox>
+        </p>
+        <p>
+            <asp:Button id="ButtonPageA" onclick="ButtonPageA_Click"
+runat="server" Text="Go To B"></asp:Button>
+        </p>
+    </form>
+</body>
+</html>
+
+
+TEST2.ASPX
+
+<%@ Page Language="C#" %>
+<script runat="server">
+    void ButtonPageB_Click(object sender, EventArgs e)
+    {
+        System.Console.WriteLine("Test2: Pre-redirect");
+        Response.Redirect("test1.aspx");
+        System.Console.WriteLine("Test2: Post-redirect");
+    }
+
+</script>
+<html>
+<head>
+</head>
+<body>
+    <form runat="server">
+        <p>
+            <asp:Label id="LabelPageB" runat="server">PageB</asp:Label>
+        </p>
+        <p>
+            <asp:TextBox id="TextBoxPageB" runat="server"></asp:TextBox>
+        </p>
+        <p>
+            <asp:Button id="ButtonPageB" onclick="ButtonPageB_Click"
+runat="server" Text="Go To A"></asp:Button>
+        </p>
+    </form>
+</body>
+</html>