Tracing and Server.Transfer

E

Eddie Farmer

Hi,

I can't seem to trace into pages accessed via Server.Transfer. I put a
break in the page to check the state of the tracing and IsEnabled is
false. I have tracing enabled at the application level and no tracing
directives are specifed either on the initial page or transferred page. I
renabled tracing at the breakpoint but it didn't make any difference.

What's the deal?

Ed.
 
N

Natty Gur

Hi,

if you will turn to true trace property of the original page and the
transfer page, you will see that you get transfer page trace displayed.
but if you will look at trace.axd you will just see the original page.
well from the ASP.NET point of view you asked for given page (a.aspx).
the fact that you transfer request pipe line to other page is unknown to
global tracing so you got just a.aspx minimum trace while checking
trace.axd.

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top