Fires of Heaven Guild Message Board  

Go Back   Fires of Heaven Guild Message Board > General forums > Development
User Name
Password
Or, use your gamerDNA username: (more...)
ForumSpy Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 09-23-2006, 04:48 AM   #1 (permalink)
Caocao
Stop running back to old times
 
Caocao's Avatar
 
Join Date: Mar 2003
Location: EC Tunnels
Posts: 659
Send a message via AIM to Caocao
Web site refresh

Ok, so I have a web site and its doing pretty well I love it so far. The problem is I can't seem to find out how to get it to refresh if the user looking at it as a different set of cache then the site. What I mean is I'll post something new on there, but they have to hit refresh to see it, and that kinda bothers me. I know there has to be some kinda script for this to look at the users cache and make it up to date. www.thebsd.net is the url for the site, thanks ahead of time.
__________________
Caocao is offline   Reply With Quote
Old 09-24-2006, 04:14 PM   #2 (permalink)
Zippygoose
Math Enthusiast/Badass MC
 
Zippygoose's Avatar
 
Join Date: Jun 2002
Location: Seattle
Posts: 650
+0 Internets
Send a message via AIM to Zippygoose
If I were you I'd save myself a headache and 5 hours and just write a timer with javascript that refreshes the page every 5-10 min. or so.
Zippygoose is online now   Reply With Quote
Old 09-24-2006, 05:47 PM   #3 (permalink)
Caocao
Stop running back to old times
 
Caocao's Avatar
 
Join Date: Mar 2003
Location: EC Tunnels
Posts: 659
Send a message via AIM to Caocao
doens't that only do it for the user though not the actual web site? I had it on 30 seconds, but it just updated the browser. I don't think it actually did the site or any thing.
__________________
Caocao is offline   Reply With Quote
Old 09-26-2006, 12:38 AM   #4 (permalink)
Slide
Limey Bastard
 
Join Date: Mar 2004
Location: London innit
Posts: 744
-3 Internets
Quote:
Originally Posted by Caocao
Ok, so I have a web site and its doing pretty well I love it so far. The problem is I can't seem to find out how to get it to refresh if the user looking at it as a different set of cache then the site. What I mean is I'll post something new on there, but they have to hit refresh to see it, and that kinda bothers me. I know there has to be some kinda script for this to look at the users cache and make it up to date. www.thebsd.net is the url for the site, thanks ahead of time.
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

This directive indicates cached information should not be used and instead requests should be forwarded to the origin server. This directive has the same semantics as the CACHE-CONTROL:NO-CACHE directive and is provided for backwards compatibility with HTTP/1.0.
Clients SHOULD include both PRAGMA:NO-CACHE and CACHE-CONTROL:NO-CACHE when a no-cache request is sent to a server not known to be HTTP/1.1 compliant.
HTTP/1.1 clients SHOULD NOT send the PRAGMA request-header. HTTP/1.1 caches SHOULD treat "PRAGMA:NO-CACHE" as if the client had sent "CACHE-CONTROL:NO-CACHE".
Also see EXPIRES.
Slide is offline   Reply With Quote
Old 09-26-2006, 04:46 AM   #5 (permalink)
Caocao
Stop running back to old times
 
Caocao's Avatar
 
Join Date: Mar 2003
Location: EC Tunnels
Posts: 659
Send a message via AIM to Caocao
worked like a charm, thank you very much .
__________________
Caocao is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
uberguilds network



All times are GMT -7. The time now is 01:13 AM.


Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 RC6