Click to See Complete Forum and Search --> : Frame refresh ASP
joey o.
Oct 14th, 2000, 08:46 PM
In my frameMenu.htm I've got links to ASP pages on the main window. The first time I hit anyone of them everything is groovy. The next time I hit one it shows the cached page but doesn't execute or update. If I physically refresh on the main page I get what I want. What am I missing? Do I have to set up a "every 5 seconds do a refresh thing" or explicitly tell the page to re-execute? If so, how? I'm using pws w/Win98. Any help or insight is welcome.
monte96
Oct 15th, 2000, 02:43 AM
There are two ways to handle it...
Put this in your <HEAD> section:
<meta http-equiv="expires" content="0">
or (a better solution)
at the top of your ASP page, add:
Response.Expires=-1442
Why -1442?? Cuz it covers all time zones + 2 extra minutes for good measure. The value is in minutes so you can set a page up so it expires in 5 minutes or if you put a negative value, it expires immediately. 1440/60=24 hours
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.