refresh

M

Mike

oh my pages i have an option to allow user to refresh and a text box for
them to enter in 10, 20 , 4 and i break it down to seconds. but then the
page actaully refreshs the data is not refreshing so when the data in the
database is updated the user is not seeing unless the close the browser down
and go page to the page. Even F5 of the IE refresh button is not truly
refreshing the page. how can i get the page to refresh and get the latest
data from the database without closing the browser and going back to the
page?
 
J

Joerg Jooss

Mike said:
oh my pages i have an option to allow user to refresh and a text box
for them to enter in 10, 20 , 4 and i break it down to seconds. but
then the page actaully refreshs the data is not refreshing so when
the data in the database is updated the user is not seeing unless the
close the browser down and go page to the page. Even F5 of the IE
refresh button is not truly refreshing the page. how can i get the
page to refresh and get the latest data from the database without
closing the browser and going back to the page?

It seems IE caches your pages blindly. Use HttpResponse.Cache and
HttpResponse.CacheControl to disable all caching for your pages, and make
sure that IE isn't accidentally configured to never reload a previously
visited page.

Cheers,
 
E

Eliyahu Goldin

You can refresh easily if you code everything correctly. Likely there is a
problem in your client- and/or server-side code.

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top