If you have two applications residing on the same server, can you use Server.Transfer to load a page in a different AppDomain/Application?
My guess is no, because Server.Transfer() copies HttpContext.Items, among other things. To copy this data between AppDomains, would cause threading and memory sharing concerns a in a world were thread isolation is strictly enforced.
Thoughts?
Nope, it’s not possible.
Server.TransferandServer.Executecannot be used in these scenarios.It does not, however, copy the
HttpContext.Items. It’s not copied. The sameHttpContextis reused.