|
-
Oct 14th, 2000, 08:46 PM
#1
Thread Starter
Hyperactive Member
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.
-
Oct 15th, 2000, 02:43 AM
#2
Frenzied Member
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
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|