Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

webpage refresh

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Related Topics:
Copde to Refresh a Page Automatically - To complete a full server refresh of a webpage it is to do a <CTRL - (ie hold down the CTRL key while clicking on the IE Refresh button. What code do I need that will make this happen (ie <CTRL - whenever a..

Can I meta refresh to a new browser window? - Hi Is there anyway to get a meta refresh to do so in an new browser window? e.g. This code forwards this user after 8 <meta Is it possible to do so but in a new window,..

First Webpage - Hi, I've just built my first webpage. Check it out:

Comments on Webpage - Afternoon Everyone, Just wanted to hear comments on my site Just so you know it has to do with a pill to enlarge a certain part of a males body, there is partial nudity. Scott

Error when using #include on webpage... - I use #include in many webpages and it works just fine except in these cases below. Can enyone say why: Folder system: www |-files |- |- I have a #include here that lokks like this:..
Next:  Webmaster: How hard would this be?  
Author Message
user485

External


Since: May 23, 2004
Posts: 1



(Msg. 1) Posted: Sun May 23, 2004 1:06 pm
Post subject: webpage refresh
Archived from groups: alt>www>webmaster (more info?)

Hi all...
I am building my own website now, and in one of the pages i have a form with
a link that calls entry to guest book on anoher frame, my problem is: that
when i click on the link, the page reloads from cash not fromt he server and
i have to reload the page manually to see the new posts, any tricks to load
the page from the server instead ???
thank you

 >> Stay informed about: webpage refresh 
Back to top
Login to vote
spam19

External


Since: May 08, 2004
Posts: 952



(Msg. 2) Posted: Sun May 23, 2004 1:06 pm
Post subject: Re: webpage refresh [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 23 May 2004 10:06:30 GMT, Ammar Majeed <ammar.majeed.DeleteThis@comhem.se>
wrote:

 > Hi all...
 > I am building my own website now, and in one of the pages i have a form
 > with
 > a link that calls entry to guest book on anoher frame, my problem is:
 > that
 > when i click on the link, the page reloads from cash not fromt he server
 > and
 > i have to reload the page manually to see the new posts, any tricks to
 > load
 > the page from the server instead ???
 > thank you

If a browser is determined to cache a page it's darn well going to cache
that page, no matter what you do. If you own the guestbook and can edit
the code, you might want to serve some no-cache type headers with it. It
won't work 100% of the time, but pretty close to 99%.

Other than that, you can try to link to the guestbook with a random query
string. Say for instance the URI of the guestbook is guestbook.html You
could make a link like the following:

If you can't use PHP:

<a id="guestbooklink" href="guestbook.html">Guestbook</a>

<script type="text/javascript">
var now = new Date();
var fake = now.getTime() / 1000;
document.getElementById('guestbooklink').href += "?fake=" + fake;
</script>

If you can use PHP:

echo "Guestbook


Both of those will give you a new link every second, and adding a query
string like the above might trick browsers into thinking they're loading a
new page.

Grey

--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollary that nothing is ridiculous.
- <a style='text-decoration: underline;' href="http://www.greywyvern.com" target="_blank">http://www.greywyvern.com</a> - Orca Knowledgebase - Fully styleable
PHP/MySQL FAQ system.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: webpage refresh 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]