Open Tech Support
Open 

Tech Support Community
Back to HomeCommunityReviewsGuidesDownloadsLinkageMarketplaceContact Us

 »  Forum Navigation

Home
Post a Question
About Our Site
Support Our Site

What is this site?
Who are we?

Tolitz.Com - The Cynic Eye of the Third World Guy

Enhanced with Snapshots

 

 »  Advertisement


Go Back   Open Tech Support Community > SUPPORT FORUMS > Internet




Reply

 

LinkBack Thread Tools
Old 09-25-2006, 05:16 PM   #1 (permalink)

Cool Newcomer
 
Join Date: Sep 2005
Posts: 8


HTML Code Needed to Automatically Refresh The Page

I run a free online journal with a buddy and we do the html ourselves. This is truly a labor of love!

We would like to find some general or generic html code that can be used so that every time someone clicks on our journal, it automatically refreshes the page. We have many subscribers who write us and say that every time they visit our page to see the new issue, they get the previous issue. So we always write back and ask them to click the “refresh” button which always works.

Can someone provide us with code so that when our page is bookmarked or re-visited, the page refreshes?

Thanks so much!
preitzes is offline   Reply With Quote
Sponsored Links
Old 09-25-2006, 06:44 PM   #2 (permalink)

Amo ng Kapahamakan
 
Canis Lupus's Avatar
 
Join Date: May 2000
Location: Sa Dulo ng Walang Hanggan
Posts: 11,775


Re: HTML Code Needed to Automatically Refresh The Page

Try these:

Via an onclick event (refreshes when you click on the link):

Code:
<a href="javascript:location.reload()">refresh this page</a>
Via META expire control between your <head></head> tags(refreshes everytime page is loaded)

Code:
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
The first two are so that the visitor doesn't cache the page, hence they always get the latest data. The third one is so that the browser will automatically get new data from the server.

Good luck!

- CL

-----------------------------
Canis Lupus is offline   Reply With Quote
Old 09-25-2006, 06:57 PM   #3 (permalink)

Im off and on
 
eleanorstang's Avatar
 
Join Date: Feb 2006
Posts: 206


Re: HTML Code Needed to Automatically Refresh The Page

What he said.

-----------------------------
Asus M2N-SLI Limited Edition
AM2 3800+ Thermal Take Butterfly Heatsink
2048 DDR2 800MHZ
160gig 7200rpm Sata 16mb cache
100gig 7200rpm Sata 16mb cache
Nvidia 8400 GT 512mb SLI DDR2
Sound Blaster Audigy 2 ZS Platinum
24x DVD Write All Lightscribe Burner
10 80mm Fans
eleanorstang is offline   Reply With Quote
Old 09-25-2006, 07:05 PM   #4 (permalink)

Cool Newcomer
 
Join Date: Sep 2005
Posts: 8


Re: HTML Code Needed to Automatically Refresh The Page

thanks guys! so much!
preitzes is offline   Reply With Quote
Reply

Bookmarks

Thread Tools


Similar Threads

Thread Thread Starter Forum Replies Last Post
installation code for the original Starcraft needed! nigel the dog PC Gaming 1 11-17-2004 09:12 PM
music video html site needed the_vampire9091 Internet 1 09-03-2004 09:48 AM
Running a setup.exe after an html page is loaded meeravarma Miscellaneous 0 04-09-2004 04:28 AM
opening html page through an .exe file vuelle Software 4 03-01-2004 04:09 PM
Help needed with HTML or Java Ken Internet 3 03-13-2003 01:57 PM







Powered by vBulletin® Version 3.8.2. Copyright © 2000-2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2
Copyright 2000-2008 Open Tech Support.  All Rights Reserved.  Site Design and Development by Tolitz Rosel.