| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
which tag should I use
| 10:00 pm on Apr 1, 2003 (gmt 0)|
I am working on a site which needs changes made every so often to prices etc.
I am just wondering how I should get the pages to refresh after the changes have been made.
Should I use either of these tags:
<meta http-equiv="refresh" ...
<meta http-equiv="expires" ...
or something else?
| 11:59 am on Apr 2, 2003 (gmt 0)|
Welcome [webmasterworld.com] to WebmasterWorld, JennyRo!
I'm guessing that you mean for the new content to be displayed to the user when they revisit your page (as opposed to the content changing during their visit).
In that case, the expires is that way to go, although a server setting is the most effective way of achieving this - although on hosted boxes this is not an option a lot of the time.
| 4:08 am on Apr 3, 2003 (gmt 0)|
Thanks for your reply.
That's right, it is so that new content will be displayed, so the user is not just seeing the outdated page because it has been cached.
Is there a better way to do this using ASP, perhaps?
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved