[Mono-dev] HttpContext.Current.Handler wrong?

Gonzalo Paniagua Javier gonzalo at ximian.com
Fri Nov 4 13:18:08 EST 2005


On Fri, 2005-11-04 at 15:25 +0100, Matthijs Wensveen wrote:
> Hello,
> I have just installed mono 1.1.9 and I'm trying to get a web 
> appplication to work that uses Context.Handler inside a 
> System.Web.UI.Page (System.Web.HttpContext.Current.Handler is the 
> same?). When I transfer control over to another page with 
> Server.Transfer("page2.aspx") the Context.Handler should remain the same 
> as the calling page (i.e. "page1_aspx").
> On Microsoft's ASP.Net, this works alright, and I can read values from 
> the calling page. On Mono however, this does not work as the handler is 
> set to the called page ("page2_aspx").
> 
> I'm not 100% sure about the specified behaviour, but I do know that it 
> worked the same way as M$ ASP.Net in mono 1.0.9.
> Is this a bug?

The 1.1.9 release had a number of bugs in ASP.NET, as there was a major
rewrite in System.Web.

As of now, all the reported bugs but one (unrelated to the rewrite) are
fixed. You can get the latest System.Web.dll from
http://primates.ximian.com/~gonzalo/System.Web.dll.gz

gunzip it and run 'gacutil -i System.Web.dll'

-Gonzalo





More information about the Mono-devel-list mailing list