By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,156 Members | 962 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,156 IT Pros & Developers. It's quick & easy.

Tracing simple question

P: n/a
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
Nov 19 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
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

Nov 19 '05 #2

P: n/a
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

Nov 19 '05 #3

P: n/a
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

Nov 19 '05 #4

P: n/a
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


Nov 19 '05 #5

P: n/a
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

Nov 19 '05 #6

P: n/a
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


Nov 19 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.