473,396 Members | 1,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Refresh page error

Hi,

When my aspx (ASP2.0) page is being refreshed by the refreshbutton of the
browser (ie) I get a message:

"The page cannot be refreshed without resending the information....."

How can I prevent this from happening?

I would like it to be when the user forces a refresh, he will always be at
the first starting page.

I.e.: he is at: http://mypage.aspx?page=2 and the refresh will send him to
http://mypage.aspx?page=1

TIA,
Eric

Dec 23 '05 #1
2 2140
That happens right now not only with ASP.NET 1.1, but any other time you are
hitting refresh on a page that was a result of a POST regarless of what
technology was used to generate it. This is just how it works.

"Eric" <so*****@MicroZoft.com> wrote in message
news:43***********************@text.nova.planet.nl ...
Hi,

When my aspx (ASP2.0) page is being refreshed by the refreshbutton of the
browser (ie) I get a message:

"The page cannot be refreshed without resending the information....."

How can I prevent this from happening?

I would like it to be when the user forces a refresh, he will always be at
the first starting page.

I.e.: he is at: http://mypage.aspx?page=2 and the refresh will send him to
http://mypage.aspx?page=1

TIA,
Eric

Dec 23 '05 #2
So there is no solution to prevent it or redirect as described?
"Marina" <so*****@nospam.com> schreef in bericht
news:%2****************@TK2MSFTNGP10.phx.gbl...
That happens right now not only with ASP.NET 1.1, but any other time you
are hitting refresh on a page that was a result of a POST regarless of
what technology was used to generate it. This is just how it works.

"Eric" <so*****@MicroZoft.com> wrote in message
news:43***********************@text.nova.planet.nl ...
Hi,

When my aspx (ASP2.0) page is being refreshed by the refreshbutton of the
browser (ie) I get a message:

"The page cannot be refreshed without resending the information....."

How can I prevent this from happening?

I would like it to be when the user forces a refresh, he will always be
at the first starting page.

I.e.: he is at: http://mypage.aspx?page=2 and the refresh will send him
to http://mypage.aspx?page=1

TIA,
Eric


Dec 24 '05 #3

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

Similar topics

7
by: kindermaxiz | last post by:
I have a php script with a form that insert data in a mysql db and when I click on submit I would like the page to refresh after the insertion, how can I do that? it's a php script that display...
17
by: Jim Little | last post by:
Hello, I'm driving myself crazy either because I'm missing something about ASP.NET, or what I'm trying to do simply can't be done. First, I am not using session variables to track state. My...
5
by: Peter | last post by:
1) I have a C# web application and what I am trying to do is create a popup window from a link on the parent window 2) the popup window will have a button and when a user clicks on the button the...
1
by: IkBenHet | last post by:
Hello, Currently I am using a large input form on a website that is based on ASP and JavaScript. Depending on the values that are filled in by the user the forms does a refresh and makes...
1
by: achoo | last post by:
Is it possible to extend a Web service proxy so that it understands an HTTP refresh page? Explanation: * The Web service proxy was autogenerated by Visual Studio .NET 2003 from the Web...
0
by: philaphan80 | last post by:
Is there a way to force the Visual Studio IDE (Page Control at design- time) to refresh / repaint itself upon drag & drop of *any* item from the toolbox? Perhaps a method I need to override within...
6
by: Chris Beall | last post by:
(I'm rather inexperienced with JavaScript; the failing page was cobbled together from multiple sources)... http://pages.prodigy.net/chris_beall/STL/Timeline.html If JavaScript is not present,...
1
by: raghuvendra | last post by:
Hi I have a jsp page with 4 columns: namely Category name , Category order, Input field and a submit button. All these are aligned in a row. And Each Category Name has its corresponding Category...
4
by: raghuvendra | last post by:
Hi I have a jsp page with 4 columns: namely Category name , Category order, Input field and a submit button. All these are aligned in a row. And Each Category Name has its corresponding Category...
1
by: shahidrasul | last post by:
i want to download a file which user select from gridview, downloading is completing without problem but after download i want to refresh my page because i do some changes in db . but when...
0
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
marktang
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,...
0
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
Oralloy
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,...
0
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...
0
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
tracyyun
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...

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.