473,404 Members | 2,187 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,404 software developers and data experts.

Are my pages getting cached or something? Help very much appreciated!

Hi everyone,

I'm using a repeater on a page of mine to display a list of hospitals
pending authorisation to take part in a trial.
When the user clicks a button it takes him/her to another page that allows
them to authorise the hospital. Now, when the user goes back to the previous
page (by following a link), the repeater still shows the (now authorised)
site when it shouldnt.

The problem fixes itself when I press refresh, which isn't very good because
it will confuse the end users and is a pain in the arse.

Can anyone tell me what to do to fix this? I doesnt seem to do this on my
other pages that do something similar. I havent set any caching options
because I don't know that much about it.

Thanks to anyone who can assist
Nov 18 '05 #1
2 855
One technique to avoid this is to put the functionality of both pages (the
list and the authorizations) into one page and track which should be shown.
If the user tries to go "back" she goes to the page she is on except that
it gets new data.

Dealing with the Back button is one of the toughest issues in Web
development because as a developer, you can't control it - the user can.

"Simon" <sh856531@microsofts_free_email_service.com> wrote in message
news:uV**************@tk2msftngp13.phx.gbl...
Hi everyone,

I'm using a repeater on a page of mine to display a list of hospitals
pending authorisation to take part in a trial.
When the user clicks a button it takes him/her to another page that allows
them to authorise the hospital. Now, when the user goes back to the
previous
page (by following a link), the repeater still shows the (now authorised)
site when it shouldnt.

The problem fixes itself when I press refresh, which isn't very good
because
it will confuse the end users and is a pain in the arse.

Can anyone tell me what to do to fix this? I doesnt seem to do this on my
other pages that do something similar. I havent set any caching options
because I don't know that much about it.

Thanks to anyone who can assist


Nov 18 '05 #2
Ken Cox [Microsoft MVP] wrote:
One technique to avoid this is to put the functionality of both pages
(the list and the authorizations) into one page and track which
should be shown. If the user tries to go "back" she goes to the page
she is on except that it gets new data.

Dealing with the Back button is one of the toughest issues in Web
development because as a developer, you can't control it - the user
can.


Actually, the poor guy on the browser development team who tries to figure
out what the authors of the HTTP spec *really* intended controls the back
button :-P

Cheers,
--
Joerg Jooss
jo*********@gmx.net

Nov 18 '05 #3

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

Similar topics

4
by: Hugh Welford | last post by:
Hi I have recently changed web hosts, and am suddenly having the problem that IE is displaying cached ASP pages, i.e. displaying data base query results from the first assembly of the asp page....
12
by: MikeT | last post by:
I have a page that produces little thumbnails of the 3D models it finds in a specified directory (and iterates down through any sub directories). It basically scans each directory for 3D Studio...
0
by: Martin | last post by:
Hi. I had a very frustrating afternoon and evening but I have got it all under control now so all of a sudden I am in a good mood. I want to share some insights on output caching with you lot. ...
0
by: Jim | last post by:
Hi, I'm working on a VS.NET 2003 (C#) app which will have several hundred pages. Most of the content is static, but there is a section for documents which is based on content from a database. ...
29
by: John Rivers | last post by:
Hello, What good reason there is for not allowing methods in ASPX pages I can't imagine, but here is how to get around that limitation: (START) <body MS_POSITIONING="FlowLayout"> <form...
20
by: M.Siler | last post by:
Let me first by saying I am NOT a .net programmer, but am very skilled with ASP, JavaScript, HTML, DHTML, Flash development. I've been reading through posts here about Frames vs. Master Pages and...
5
by: pittendrigh | last post by:
There must be millions of dynamically generated html pages out there now, built by on-the-fly php code (and jsp, perl cgi, asp, etc). Programatic page generation is transparently useful. But...
42
by: Santander | last post by:
how to decode HTML pages encoded like this: http://www.long2consulting.com/seeinaction2008/Simplicity_Beach_table/index.htm Is there script that will do this automatically and generate normal fully...
0
by: Hamayun Khan | last post by:
Hi all I have used Ajax Tabpanel on my webpages Which works fine on all browsers. But I m getting the following error Sys is undefined when i view google cached page. and the Tabpanel does not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
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...
1
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...
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
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
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
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,...

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.