is there any way to remove some information from trace, tracing by default
displays session , application variables, but i need to remove these two from
trace.can any let me know how can i do it? 5 1126
No. Why would you want to though?
--
MY ASP.Net tutorials http://www.openmymind.net/
"vsr" <vs*@discussion s.microsoft.com > wrote in message
news:3E******** *************** ***********@mic rosoft.com... is there any way to remove some information from trace, tracing by default displays session , application variables, but i need to remove these two from trace.can any let me know how can i do it?
As we dont want to display Application/session variables on the form.. we
just want to display other trace info except this.
"Karl Seguin" wrote: No. Why would you want to though?
-- MY ASP.Net tutorials http://www.openmymind.net/
"vsr" <vs*@discussion s.microsoft.com > wrote in message news:3E******** *************** ***********@mic rosoft.com... is there any way to remove some information from trace, tracing by default displays session , application variables, but i need to remove these two from trace.can any let me know how can i do it?
You should only be using/showing this information for debugging purposes in
development.
The only solution I know that might work would be to hide the table
containing the data using javascript. However, you could simply view it
using "view source"
Karl
--
MY ASP.Net tutorials http://www.openmymind.net/
"vsr" <vs*@discussion s.microsoft.com > wrote in message
news:E1******** *************** ***********@mic rosoft.com... As we dont want to display Application/session variables on the form.. we just want to display other trace info except this.
"Karl Seguin" wrote:
No. Why would you want to though?
-- MY ASP.Net tutorials http://www.openmymind.net/
"vsr" <vs*@discussion s.microsoft.com > wrote in message news:3E******** *************** ***********@mic rosoft.com... > is there any way to remove some information from trace, tracing by > default > displays session , application variables, but i need to remove these > two > from > trace.can any let me know how can i do it?
Yes,the tracing is only enabled in development environment and enabling
tracing dynamically based on some value in the page, if hiding some part is
not possible is there any global setting which overrides the page settings?
"Karl Seguin" wrote: You should only be using/showing this information for debugging purposes in development.
The only solution I know that might work would be to hide the table containing the data using javascript. However, you could simply view it using "view source"
Karl -- MY ASP.Net tutorials http://www.openmymind.net/
"vsr" <vs*@discussion s.microsoft.com > wrote in message news:E1******** *************** ***********@mic rosoft.com... As we dont want to display Application/session variables on the form.. we just want to display other trace info except this.
"Karl Seguin" wrote:
No. Why would you want to though?
-- MY ASP.Net tutorials http://www.openmymind.net/
"vsr" <vs*@discussion s.microsoft.com > wrote in message news:3E******** *************** ***********@mic rosoft.com... > is there any way to remove some information from trace, tracing by > default > displays session , application variables, but i need to remove these > two > from > trace.can any let me know how can i do it?
As I said, I think you are pretty much out of luck.
Get Reflector and look at what the Page class does during ProcessRequest( ).
You'll note that it calls ProcessRequestM ain (which is where all the page
events are fired, init, load, postback, ...) and then it calls
ProcessRequestE ndTrace which calls Trace.EndReques t() if tracing is enabled.
EndRequest simply goes through each collection (context.Sessio n) and adds
all the values to the trace.
Unfortunetly, all these methods are internal.
To get it to work, you would need to register .aspx with a different handler
(doable via machine.config) and rewrite most of the code of the page
class....a daunting task.
Karl
--
MY ASP.Net tutorials http://www.openmymind.net/
"vsr" <vs*@discussion s.microsoft.com > wrote in message
news:C1******** *************** ***********@mic rosoft.com... Yes,the tracing is only enabled in development environment and enabling tracing dynamically based on some value in the page, if hiding some part is not possible is there any global setting which overrides the page settings?
"Karl Seguin" wrote:
You should only be using/showing this information for debugging purposes in development.
The only solution I know that might work would be to hide the table containing the data using javascript. However, you could simply view it using "view source"
Karl -- MY ASP.Net tutorials http://www.openmymind.net/
"vsr" <vs*@discussion s.microsoft.com > wrote in message news:E1******** *************** ***********@mic rosoft.com... > As we dont want to display Application/session variables on the form.. > we > just want to display other trace info except this. > > "Karl Seguin" wrote: > >> No. Why would you want to though? >> >> -- >> MY ASP.Net tutorials >> http://www.openmymind.net/ >> >> >> "vsr" <vs*@discussion s.microsoft.com > wrote in message >> news:3E******** *************** ***********@mic rosoft.com... >> > is there any way to remove some information from trace, tracing by >> > default >> > displays session , application variables, but i need to remove these >> > two >> > from >> > trace.can any let me know how can i do it? >> >> >> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jim H |
last post by:
I will have many 3 byte Byte arrays. Is there a way to compare the values
without iterating through and comparing each element in the code?
Example:
byte lTest1 = new byte {0x1, 0x2, 0x3};
byte lTest2 = new byte {0x1, 0x2, 0x3};
byte lTest3 = new byte {0x1, 0x5, 0x3};
if(Comparer.Equals(lTest1, lTest2))
System.Diagnostics.Trace.WriteLine("Test1 and Test2 are the same",
"Debug");
|
by: RHPT |
last post by:
I am wanting to capture the XML posted by an InfoPath form with .NET, but I
cannot figure out how to capture the XML stream sent back by the InfoPath
form. With Classic ASP, I could just create an MSXML object then load the XML
with a simple objXML.Load(Request). This would give me the XML stream, which
I could then manipulate.
However, using System.Xml, this is not possible - not that I have found,
anyway. The InfoPath documentation...
|
by: Jim in Arizona |
last post by:
This doesn't make any sense to me. I'm hoping some SQL guru out there knows
the answer.
I'm making a help desk type database system. There's only two tables, one
called TTickets and the other called TNotes. The Primay Key of TTickets is a
one to Many to the Foreign Key of the TNotes table.
In my VB code, I create a relation between the two tables so I can display
several notes (from TNotes) with a single entry in the TTickets table. So...
|
by: Adrian Parker |
last post by:
We have a website that works everywhere but on a few PCs on this one site..
Asp.Net 1.1
Server = Windows 2003
Client = XP
In the web.config we use - cookieless="false"
in the browser settings they have "Always allow session cookies" set to true
When the browser connects to the website the first page sets a session
variable called "user_ref" to something and then calls another page. If on
|
by: diesel |
last post by:
Ok, once again I'm at my wits' end with a VB.Net problem.
I have a button which opens a wizard that allows the user to enter a
new record to a table. I have a datatable called dtItems that stores
the data from a table named Items, and a dataview called dvItems that
is a sorted subset of the data in dtItems. I have a datagrid called
(yes, you guessed it) dgItems, which has dvItems as its datasource.
When the user hits the New Item...
| |
by: news.microsoft.com |
last post by:
Hi all.
If I wanted to write something so that, when an exception was thrown, and
the stack unwound, the stack trace was captured with the values of the
parameters (instead of just the parameter signature for method), is this
possible without exception-wrapping the guts of each method?
I can see how to get parameter values out of MethodInfo, but can't see how
to do it without doing something like adding 7 lines to each method, taking...
|
by: shawn |
last post by:
I am having a hard time finding an easy way to remove a reference to
another .net project that I am no longer using (ASP 2.0 - this was an
available option in 1.0).
Other projects have a list of references that I can simply look at and
delete a reference- with web projects, this does not seem to be the
case.
Thanks in advance....
|
by: Niyazi |
last post by:
Hi all,
What is fastest way removing duplicated value from string array using vb.net?
Here is what currently I am doing but the the array contains over 16000
items. And it just do it in 10 or more minutes.
'REMOVE DUBLICATED VALUE FROM ARRAY +++++++++++++++++
Dim col As New Scripting.Dictionary
Dim ii As Integer = 0
|
by: David Lozzi |
last post by:
Howdy,
I have a shopping cart in my arraylist. Works great for adding items but I'm
displaying the shopping cart in a gridview and the user can update the qty
of the items. If they set it to 0, then I want to remove it. I'm doing the
following script:
For Each ele In bag
Dim qty As Integer = CType(gvBag.Rows.Item(cnt).FindControl("txtQty"),
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |