Results 1 to 2 of 2

Thread: Frame refresh ASP

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    ma,usa
    Posts
    485
    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.

  2. #2
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    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
  •  



Click Here to Expand Forum to Full Width