473,480 Members | 1,940 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Error refreshing a web page

Something happened to my development environment and I'm getting an error
that hasn't happened before. Not knowing why the error is popping up is
preventing me from figuring out what in my environment changed.

Environment: VS 2005 team developer, AJAX extensions, .NET 2.0.

Here's how I generate the error:

1. Create a new web site.
2. Drop a button on the default page.
3. Double-click the button to generate a handler.
4. Build the solution.
5. Run the web site in the debugger.

The browser's refresh button works fine UNTIL I click the button on the
page. From that point on, clicking the button still works fine, but the
refresh button pops up a Windows Internet Explorer warning dialog that
contains the text

"To display the webpage again, Internet Explorer needs to resend the
information you've previously submitted.

If you were making a purchase, you should click the Cancel to avoid a
duplicate transaction. Otherwise, clidck Retry to display the webpage again."

along with a Retry and Cancel button. Neither button seems to change this
popup on subsequent attempts to refresh the page.

Things I've done recently that might have affected the environment:

1. Installed Expression Web trial
2. Installed VS Orcas trial

I've uninstalled Expression Web, Orcas, and the .NET 3.0 and 3.5 that Orcas
added for me.

What is going on? I suspect that this error isn't real. When this warning
dialog pops up, what information is IE trying to send to the server that it
thinks it hasn't yet managed to send successfully? If this is really an
error, what is preventing IE from realizing that it completed the last page
update successfully? Trace output looks correct in terms of execution
sequence and I can stop on breakpoints in the Page_Load and Button1_Click
functions. How do I get rid of this problem and restore my development
environment?

HELP!

Jul 18 '07 #1
3 22058
this is browser normal behavior. if the current page is a result of a
postback (button clicked rather than a hyperlink), then to do a refresh
the browser needs to post the data again (rerunning the page logic).
because so many sites failed to handle this on their purchase page, the
browsers had to add this message to prevent double buys.
-- bruce (sqlwork.com)
gozer61 wrote:
Something happened to my development environment and I'm getting an error
that hasn't happened before. Not knowing why the error is popping up is
preventing me from figuring out what in my environment changed.

Environment: VS 2005 team developer, AJAX extensions, .NET 2.0.

Here's how I generate the error:

1. Create a new web site.
2. Drop a button on the default page.
3. Double-click the button to generate a handler.
4. Build the solution.
5. Run the web site in the debugger.

The browser's refresh button works fine UNTIL I click the button on the
page. From that point on, clicking the button still works fine, but the
refresh button pops up a Windows Internet Explorer warning dialog that
contains the text

"To display the webpage again, Internet Explorer needs to resend the
information you've previously submitted.

If you were making a purchase, you should click the Cancel to avoid a
duplicate transaction. Otherwise, clidck Retry to display the webpage again."

along with a Retry and Cancel button. Neither button seems to change this
popup on subsequent attempts to refresh the page.

Things I've done recently that might have affected the environment:

1. Installed Expression Web trial
2. Installed VS Orcas trial

I've uninstalled Expression Web, Orcas, and the .NET 3.0 and 3.5 that Orcas
added for me.

What is going on? I suspect that this error isn't real. When this warning
dialog pops up, what information is IE trying to send to the server that it
thinks it hasn't yet managed to send successfully? If this is really an
error, what is preventing IE from realizing that it completed the last page
update successfully? Trace output looks correct in terms of execution
sequence and I can stop on breakpoints in the Page_Load and Button1_Click
functions. How do I get rid of this problem and restore my development
environment?

HELP!
Jul 18 '07 #2
since my work has nothing to do with commerce, how do i suppress the
behavior? what is the behind-the-covers mechanism that is invoking it so
that i can figure out why and how it's doing what it does?

i think it's odd to say the least that a simple post-back procedure causes a
browser to pop up such a specific message, especially if the browser cannot
have any knowledge that the user is actually performing a commercial
transactions of some sort.

i've been working through asp.net 2.0 examples with post-back functions for
several weeks, and this is the first time i've seen the behavior. this leads
me to think that it's not normal. has IE been changed recently to add this
popup?

james

"bruce barker" wrote:
this is browser normal behavior. if the current page is a result of a
postback (button clicked rather than a hyperlink), then to do a refresh
the browser needs to post the data again (rerunning the page logic).
because so many sites failed to handle this on their purchase page, the
browsers had to add this message to prevent double buys.
-- bruce (sqlwork.com)
gozer61 wrote:
Something happened to my development environment and I'm getting an error
that hasn't happened before. Not knowing why the error is popping up is
preventing me from figuring out what in my environment changed.

Environment: VS 2005 team developer, AJAX extensions, .NET 2.0.

Here's how I generate the error:

1. Create a new web site.
2. Drop a button on the default page.
3. Double-click the button to generate a handler.
4. Build the solution.
5. Run the web site in the debugger.

The browser's refresh button works fine UNTIL I click the button on the
page. From that point on, clicking the button still works fine, but the
refresh button pops up a Windows Internet Explorer warning dialog that
contains the text

"To display the webpage again, Internet Explorer needs to resend the
information you've previously submitted.

If you were making a purchase, you should click the Cancel to avoid a
duplicate transaction. Otherwise, clidck Retry to display the webpage again."

along with a Retry and Cancel button. Neither button seems to change this
popup on subsequent attempts to refresh the page.

Things I've done recently that might have affected the environment:

1. Installed Expression Web trial
2. Installed VS Orcas trial

I've uninstalled Expression Web, Orcas, and the .NET 3.0 and 3.5 that Orcas
added for me.

What is going on? I suspect that this error isn't real. When this warning
dialog pops up, what information is IE trying to send to the server that it
thinks it hasn't yet managed to send successfully? If this is really an
error, what is preventing IE from realizing that it completed the last page
update successfully? Trace output looks correct in terms of execution
sequence and I can stop on breakpoints in the Page_Load and Button1_Click
functions. How do I get rid of this problem and restore my development
environment?

HELP!
Jul 19 '07 #3
Browser displays that message only if page is result of submitting form with
method POST. Which is how any buttom works in .NET
you can get away with that if any action (i.e. button click) you will end
with Response.Redirect somewere. Then it will me method "GET".

George.

"gozer61" <go*****@discussions.microsoft.comwrote in message
news:2D**********************************@microsof t.com...
Something happened to my development environment and I'm getting an error
that hasn't happened before. Not knowing why the error is popping up is
preventing me from figuring out what in my environment changed.

Environment: VS 2005 team developer, AJAX extensions, .NET 2.0.

Here's how I generate the error:

1. Create a new web site.
2. Drop a button on the default page.
3. Double-click the button to generate a handler.
4. Build the solution.
5. Run the web site in the debugger.

The browser's refresh button works fine UNTIL I click the button on the
page. From that point on, clicking the button still works fine, but the
refresh button pops up a Windows Internet Explorer warning dialog that
contains the text

"To display the webpage again, Internet Explorer needs to resend the
information you've previously submitted.

If you were making a purchase, you should click the Cancel to avoid a
duplicate transaction. Otherwise, clidck Retry to display the webpage
again."

along with a Retry and Cancel button. Neither button seems to change this
popup on subsequent attempts to refresh the page.

Things I've done recently that might have affected the environment:

1. Installed Expression Web trial
2. Installed VS Orcas trial

I've uninstalled Expression Web, Orcas, and the .NET 3.0 and 3.5 that
Orcas
added for me.

What is going on? I suspect that this error isn't real. When this
warning
dialog pops up, what information is IE trying to send to the server that
it
thinks it hasn't yet managed to send successfully? If this is really an
error, what is preventing IE from realizing that it completed the last
page
update successfully? Trace output looks correct in terms of execution
sequence and I can stop on breakpoints in the Page_Load and Button1_Click
functions. How do I get rid of this problem and restore my development
environment?

HELP!

Jul 19 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
3037
by: Paul | last post by:
I thought this is more of an IE issue but i've had no joy on that group perhaps somebody here will have a clue. If i click a link to a web page embedded in Excel (97 OR 2000) i get the standard...
1
2146
by: sentinel | last post by:
Hello, I'm having problems refreshing a main window, and am not sure really whether the solution will be Javascript or PHP related. Firstly, I have a main file that calls a pop-up box which...
60
4246
by: A.Translator | last post by:
I have been struggling with a page that is based on a table structure (because that is all I am feeling comfortable with at the moment) styled with css. One of the problems I run in to is Opera...
4
5897
by: Peter Row | last post by:
Hi, I have created a UserControl which is subsequently hosted on a standard form. My control has a TabControl on it but it has no TabPages configured. At runtime I create X pages and put a...
2
2530
by: jdi | last post by:
Hello, I have a seemingly basic question about ASP.NET. I would like to create a page containing an image, which keeps swapping the url of the image source, without refreshing the entire page. ...
5
3471
by: Jensen Bredal | last post by:
Hello, I need to display self refreshing information on a web page written with asp.net. I would image that the info would be displayed either as part of a user control or a web control. How can...
2
2472
by: Ben | last post by:
Hi, One ASP.NET transactional page conducts a long transaction in a button click function. I want to display the transaction progress info in label control without refreshing page. It is...
4
5039
by: Dan | last post by:
Hi, i'm not sure to understand the difference between refreshing the pagina by clicking on 'refresh' in the browser and a postback. What i think it is: Suppose a page with a form containing a...
13
7426
by: honey99 | last post by:
Hi! I have to fix a problem in JSP.Actually,i have a JSP page say Ex1.jsp.In this Ex1.jsp i have an anchor tag which links into another JSP page i.e when i click on the link another pop-up window...
0
6904
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...
0
7076
jinu1996
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...
1
6732
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...
0
5324
agi2029
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,...
1
4768
isladogs
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...
0
2990
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...
0
2976
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1294
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 ...
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.