when the process run in the same browser, it's easy to open a new TAB and check the session variables there, everything works fine in this situation.
But when a webpage runs inside a WebBrowser
Control (under Windows Forms) for example, I can no longer get any Session Variable that process is using.
Does anyone have an idea on how to get the variables?
b开发者_运维知识库efore I create a value to use Session Variables or File Output in the web.config
:)
The image above is my Debug window but it's always empty when I run the web page from a different process :o(
added
Tracing is not an option as I get this from Trace:
The Debug window assigns that List
to a GridView
and shows up nicely.
ASP.NET Tracing Overview
ASP.NET tracing enables you to view diagnostic information about a single request for an ASP.NET page. ASP.NET tracing enables you to follow a page's execution path, display diagnostic information at run time, and debug your application. ASP.NET tracing can be integrated with system-level tracing to provide multiple levels of tracing output in distributed and multi-tier applications.
Inserted from http://msdn.microsoft.com/en-us/library/bb386420.aspx
精彩评论