[Mono-dev] HttpContext.Current.Handler wrong?
Matthijs Wensveen
m.wensveen at func.nl
Mon Nov 7 03:09:23 EST 2005
Gonzalo Paniagua Javier wrote:
>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
>
>
>
Thanks! I've worked around the problem for now using the Context.Items
collection to pass around variables. I'll install the dll and check it out.
Cheers,
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 30 2109750
F +31 30 2109751
More information about the Mono-devel-list
mailing list