[Mono-bugs] [Bug 67388][Nor] New - QueryString lost after using Server.Transfer

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 2 Oct 2004 13:03:51 -0400 (EDT)


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 gert.driesen@pandora.be.

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

--- shadow/67388	2004-10-02 13:03:51.000000000 -0400
+++ shadow/67388.tmp.5662	2004-10-02 13:03:51.000000000 -0400
@@ -0,0 +1,45 @@
+Bug#: 67388
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: QueryString lost after using Server.Transfer
+
+When tranferring execution to another page using Server.Transfer, the 
+querystring is lost.
+
+for example: 
+
+when tranferring exectution to WebForm2.aspx, and passing 
+parameter "whatever" with value "abc", using the following code fragment :
+
+Context.Server.Transfer ("WebForm2.aspx?whatever=abc");
+
+Then, in WebForm2.aspx, the "whatever" input parameter is not available 
+in the QueryString collection.
+
+I've attached a repro for this issue.
+
+Just request the "default.aspx" page, and you'll see that, on Mono, 
+you'll get the following output (generated by WebForm2.aspx) :
+
+Result: QueryString not available !!! 
+
+While on MS.NET, you'll get :
+
+Result: QueryString available (value of whatever is: abc)
+
+PS. The value of HttpRequest.FilePath also does not match that of MS.NET, 
+as its changed to the new page instead of keeping the value of the 
+original page.x