Nasty bug in Server.Transfer

by Marius Gheorghe 5. September 2007 01:03
I was working on a URL rewriter (implemented as a IHttpHandler) and i stumbled on a nasty bug in the runtime. After you Server.Transfer, in the resulting page you can't access the session anymore (HttpContext.Current.Session is always null). That pretty much makes Server.Transfer worthless.

Nasty.

Tags:

dotNET