M
Morgan Cheng
"Server.Transfer(Request.FilePath);" make server re-evaluate current
page. In debugger, I found that though the page's OnPreInit is called,
delegates attached in HttpModule is not executed. Why ASP.NET is
designed in such a way?
To make the page executed from scratch, I have to use
Resposne.Redirect(Request.FilePath), but this will waste a networking
roundtrip.
page. In debugger, I found that though the page's OnPreInit is called,
delegates attached in HttpModule is not executed. Why ASP.NET is
designed in such a way?
To make the page executed from scratch, I have to use
Resposne.Redirect(Request.FilePath), but this will waste a networking
roundtrip.