|
132 visitors now |
|
| World Discussion Forums    Add to Favorites Digg It  
![]() |
HTML/Web Design Forum |
| Reply from/ Date | |
| Scott 8/17/2003 12:20:14 |
This placed in the head section will do the trick... <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> |
| Scott 6/18/2004 3:12:05 |
Also, adding this line as well will make it more reliable. Netscape will let you avoid using the cached page but IE has some problems cancelling the page cache. From what I've read, these meta tags don't work too reliably as IE ignores them. If you use Active Server Pages or some other type of server scripting you can set the header information there, which will work on all browsers. <META HTTP-EQUIV="expires" CONTENT="0"> |
| Bill 6/18/2004 3:22:32 |
Using you ASP code to set the header is the most reliable method. Here's a good bit of info about it. http://www.tek-tips.com/gfaqs.cfm/pid/333/fid/1034 |
| Scott 6/26/2004 9:46:32 |
Using this ASP code will make sure it refresh's every time, even when users click the back button. It's the most reliable method I've been able to find. <% Response.AddHeader "cache-control", "no-store, must-revalidate, private"%> |
| JOEL 7/12/2004 11:01:18 |
Thanks. That worked. |
| Caverta 3/6/2007 11:37:07 |
I have already enjoy your website, and it is so nice and cool. I will visit your website again. Thank you. Please More updates |
| Dave 8/13/2008 3:30:35 |
a great way to auto refresh you page is to use http://www.refreshthis.com using php not asp [Posted from : UNITED STATES] |
| Empablybype 12/17/2008 6:43:53 |
Nice! I think i will use it. Thanks! [Posted from : UNITED STATES] |
| Frank 8/29/10 6:25:30 PM |
Scott's solution above is the best way to force a page to get the latest version every time it is visited. Does not us ASP or anything. Just a HTML meta tag. You do not need to use ASP or PHP. Use this. It will work on any website. Just place the tag he gave you into the head section of your code. As he say's: This placed in the head section will do the trick... <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> |
Topic 2 of 39
|
|
Show Smiley's Instant Chat
|
|
| Your reply here... (advertising links will not be accepted) Your Avatar: (optional) [Avatar must be available on the web. Enter its URL above then click 'Get It'. Maximum image size is 150x150 pixels. Your Facebook pic can be used with this method. You can get your Facebook avatar URL by opening Facebook, right-clicking your pic and selecting 'Properties'. Your pics URL/address will be shown. Copy it, then paste it here and click 'Get It'.] Email me when new replies are posted to this topic (Optional. Not displayed.) |