Dear all,
I have an applicatin that generate a querry to an SQL server, then display
results on a second webform.
I try to see how tracing works, then I have notice that as soon as I
implement tracing on the page, when I click on the BACK button of explorer I
get a warning message that information of the page needs to be resend to be
displayed ?
What does it behave like this when tracing is On ?
thanks for your help
regards
serge 6 1643
Hi Serge,
Enabling tracing should not have this effect. Instead I think it is the way
you are navigating between the two pages.
You will receive that message when you try to return to a page that contains
HTTP POST data. This may be the case for you if you used Server.Transfer to
navigate to the next page after a button click. Using Response.Redirect
instead would not do this, although it may not fit your requirements.
It's not something to worry about as such, but just be aware of it.
Hope that helps ... let me know if I was way off the mark ;-)
Matt
"serge calderara" wrote: Dear all,
I have an applicatin that generate a querry to an SQL server, then display results on a second webform.
I try to see how tracing works, then I have notice that as soon as I implement tracing on the page, when I click on the BACK button of explorer I get a warning message that information of the page needs to be resend to be displayed ?
What does it behave like this when tracing is On ?
thanks for your help regards serge
Serge,
That's normal browser behaviour whenever POST vs. GET is used to move data
from one web page to another.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:D8**********************************@microsof t.com... Dear all,
I have an applicatin that generate a querry to an SQL server, then display results on a second webform.
I try to see how tracing works, then I have notice that as soon as I implement tracing on the page, when I click on the BACK button of explorer I get a warning message that information of the page needs to be resend to be displayed ?
What does it behave like this when tracing is On ?
thanks for your help regards serge
Yes mat I navigate from first page to second page as follow :
Server.Transfer("Result.aspx?ReelId=" & Me.lstTable.SelectedValue)
Then I come back from second page to initial page as follow :
<INPUT type="button" value="New Search" onclick="history.back()">
I have to say that when tracing is OFF, I can reach the initial page without
this message, but when tracing is ON I get it
I just try to understand why
regards
serge
"Matt Tester" wrote: Hi Serge,
Enabling tracing should not have this effect. Instead I think it is the way you are navigating between the two pages.
You will receive that message when you try to return to a page that contains HTTP POST data. This may be the case for you if you used Server.Transfer to navigate to the next page after a button click. Using Response.Redirect instead would not do this, although it may not fit your requirements.
It's not something to worry about as such, but just be aware of it.
Hope that helps ... let me know if I was way off the mark ;-) Matt
"serge calderara" wrote:
Dear all,
I have an applicatin that generate a querry to an SQL server, then display results on a second webform.
I try to see how tracing works, then I have notice that as soon as I implement tracing on the page, when I click on the BACK button of explorer I get a warning message that information of the page needs to be resend to be displayed ?
What does it behave like this when tracing is On ?
thanks for your help regards serge
But why it behaves like this only when Tracing is On ?
What is the rules then if any?
I just try to understand for my asp exam
regards
serge
"S. Justin Gengo" wrote: Serge,
That's normal browser behaviour whenever POST vs. GET is used to move data from one web page to another.
-- Sincerely,
S. Justin Gengo, MCP Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order." Nietzsche "serge calderara" <se************@discussions.microsoft.com> wrote in message news:D8**********************************@microsof t.com... Dear all,
I have an applicatin that generate a querry to an SQL server, then display results on a second webform.
I try to see how tracing works, then I have notice that as soon as I implement tracing on the page, when I click on the BACK button of explorer I get a warning message that information of the page needs to be resend to be displayed ?
What does it behave like this when tracing is On ?
thanks for your help regards serge
Hi Serge,
They way I understand it is that the tracing is done via a HttpModule
implementation. This therefore fits into the Request pipeline before/after a
page is rendered. If you use the page output option, the trace data is added
to the end and so this may be causing your issue.
I have to admit, I'm not 100% sure. Maybe try turning off the page output
and use the Trace.axd approach instead and see if it still does it. Also, I
tend to avoid using the history.back() method if I'm not using
Response.Redirect ...
Matt
"serge calderara" wrote: Yes mat I navigate from first page to second page as follow :
Server.Transfer("Result.aspx?ReelId=" & Me.lstTable.SelectedValue)
Then I come back from second page to initial page as follow : <INPUT type="button" value="New Search" onclick="history.back()">
I have to say that when tracing is OFF, I can reach the initial page without this message, but when tracing is ON I get it
I just try to understand why
regards serge
"Matt Tester" wrote:
Hi Serge,
Enabling tracing should not have this effect. Instead I think it is the way you are navigating between the two pages.
You will receive that message when you try to return to a page that contains HTTP POST data. This may be the case for you if you used Server.Transfer to navigate to the next page after a button click. Using Response.Redirect instead would not do this, although it may not fit your requirements.
It's not something to worry about as such, but just be aware of it.
Hope that helps ... let me know if I was way off the mark ;-) Matt
"serge calderara" wrote:
Dear all,
I have an applicatin that generate a querry to an SQL server, then display results on a second webform.
I try to see how tracing works, then I have notice that as soon as I implement tracing on the page, when I click on the BACK button of explorer I get a warning message that information of the page needs to be resend to be displayed ?
What does it behave like this when tracing is On ?
thanks for your help regards serge
I believe Matt's answer to be correct.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:9C**********************************@microsof t.com... But why it behaves like this only when Tracing is On ?
What is the rules then if any?
I just try to understand for my asp exam
regards serge
"S. Justin Gengo" wrote:
Serge,
That's normal browser behaviour whenever POST vs. GET is used to move data from one web page to another.
-- Sincerely,
S. Justin Gengo, MCP Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order." Nietzsche "serge calderara" <se************@discussions.microsoft.com> wrote in message news:D8**********************************@microsof t.com... > Dear all, > > I have an applicatin that generate a querry to an SQL server, then > display > results on a second webform. > > I try to see how tracing works, then I have notice that as soon as I > implement tracing on the page, when I click on the BACK button of > explorer > I > get a warning message that information of the page needs to be resend > to > be > displayed ? > > What does it behave like this when tracing is On ? > > thanks for your help > regards > serge This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Trace User |
last post by:
Hello,
I have a design question regarding Tracing and Trace
Switches.
I understand that Trace Switches can be configured through
an application's .config file. When a switch is
instantiated,...
|
by: Paul Ibison |
last post by:
HI
when I have a page which calls a component I want to do the following -
tracing set to false on the pag
tracing set to true in the componen
tracing set to false in the page after the call to...
|
by: Dabbler |
last post by:
When I first start up an ASP.NET application with tracing enabled in
web.config the first few pages show trace at bottom of the page but then at
some point the pages return to normal with no trace...
|
by: deepukutty |
last post by:
Hi all,
I know tht we can do tracing in two ways.one in application level and the
other is at Page level.
I am able to see the details of trace either on the page itself or
.../trace.axd page....
|
by: cnys |
last post by:
We have an ASP.NET 2.0 (C#) app and we're trying to add tracing into it.
The tracing functionality within .NET is great, but when we output this to a
file, it's kind of sparse.
So, we're looking...
|
by: GB |
last post by:
All,
There's a few messages around about the Environment.GetResourceString
causing a "Resource lookup failed - infinite recursion detected." error
but nothing detailed.
I have a problem...
|
by: rehto |
last post by:
We have an ASP.NET 2.0 (C#) app and we want to enable tracing (see the code
snippets below).
The first time a user navigates to the app., the tracing works fine (the
ASP.NET tracing appears on...
|
by: Stephen Torri |
last post by:
I am trying to produce a singleton class that I can use throughout my
library to write tracing information to a file. My intent was to design
such that someone using the library in its debug mode...
|
by: RedLars |
last post by:
Hi
Does the class System.Diagnostics.Trace use a singelton ?
I'm able to do this;
System.Diagnostics.Trace.WriteLine("test");
However, these give compiler errors;
System.Diagnostics.Trace...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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...
| |