[Mono-devel-list] Re: [Mono-patches] mcs/class/System.Web/System.Web ChangeLog,1.210,1.211 HttpContext.cs,1.26,1.27
Gonzalo Paniagua Javier
gonzalo at ximian.com
Wed Jun 9 16:16:10 EDT 2004
El mié, 09-06-2004 a las 15:27, Pedro Martinez escribió:
> Update of /cvs/public/mcs/class/System.Web/System.Web
> In directory mono-cvs.ximian.com:/tmp/cvs-serv30119
>
> Modified Files:
> ChangeLog HttpContext.cs
> Log Message:
> 2004-06-09 Pedro Martínez Juliá <yoros at wanadoo.es>
>
> * HttpContext: User property returns its own "user" value because
> the context can walk through different Threads. When "User" property
> is changed, change "Thread.CurrentPrincipal" too.
This patch is wrong. Changing Context.User does not affect the
Thread.CurrentPrincipal, as you can see in the attached simple test
case. I've reverted it.
-Gonzalo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: principal.aspx
Type: application/x-aspx
Size: 1321 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040609/f7f7b9b4/attachment.bin
More information about the Mono-devel-list
mailing list