Current location: Hot Scripts Forums » Programming Languages » PHP » Avoiding clicking refresh button


Avoiding clicking refresh button

Reply
  #1 (permalink)  
Old 11-27-03, 07:45 AM
webx2000i webx2000i is offline
Newbie Coder
 
Join Date: Nov 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Avoiding clicking refresh button

Hi all, I've designed a page with some forms, when I fill up the forms and submit the data, that data does not show up on the destination page unitl I click on the refresh button. Is there any way to ensure that the page will load with most recent data without having to refresh the page.

Thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 11-27-03, 08:30 AM
fyrestrtr fyrestrtr is offline
Wannabe Coder
 
Join Date: Nov 2003
Posts: 191
Thanks: 0
Thanked 0 Times in 0 Posts
I think this problem is on your side that your browser is caching the page. You can add headers to avoid caching of your page (and to always fetch the new copy from the server). If you are behind a proxy/firewall -- you may be seeing the cached copy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 11-27-03, 09:06 AM
webx2000i webx2000i is offline
Newbie Coder
 
Join Date: Nov 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
thanks for the reply,
But if I prevent the caching the bandwidth consumption of my page will increase dramitacally and the pictures will have to load again and that will take time. I'm using php and mysql database and I just want to ensure that the I get the correct data for the database.

I've done some reviews on the sources of some page, on of them is this forum and I did not see any cach control tags in the header or anywhere else!!!! and I get the most recent pages from it. How did they do it?????

thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to disable browser's back button after logout shaky ASP 7 08-18-06 08:37 AM
How to refresh a shopping cart window darksoap JavaScript 3 03-05-05 04:28 PM
image submit button problems Pepe PHP 10 12-22-03 09:15 PM
Dynamic Button - Urgent kamlesh_nadar ASP.NET 1 11-08-03 01:26 AM
radio button selection TheLaughingBandit ASP 3 08-31-03 07:22 PM


All times are GMT -5. The time now is 07:15 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.