Cuando me lo permitan voy a dar nombre y apellido:
Mis preguntas:
Is true that since .NET2.0 we can be 100% that a request is completely
executed within the same thread ?
In other words: can we be 100% sure that a ThreadStatic field can be used to
store the context of a request ?

La respuesta que me llego por medio de Scott Hanselman:
No
No
No
And
No

Folks should never depend on thread statics being stable in ASP.NET.  That’s
why we have HttpContext.Items.

The easiest way to cause threads to jump is SessionStateModule which can
potentially complete asynchronously.  The second that module goes async
having to wait to get session state you immediately run the risk of the
request picking up again on a completely different thread.

-- 
Fabio Maulo

-- 
Para escribir al Grupo, hágalo a esta dirección: 
[email protected]
Para más, visite: http://groups.google.com/group/NHibernate-Hispano

Responder a