[PHPLIB] Caching problem From: xendra (xendra <email protected>)
Date: 11/26/99

I am having a caching problem and I really don't know how to fix it. I am
using a driver program to load other pages. This is what it looks like:

<?php
  # ---------------------------------------------------------------
  # set up paths, classes, and functions
  include("/home/xendra/public_html/websrc/src/prepend.php3");
  include($_PHPLIB[srcdir] . "functions.inc");
  include($_PHPLIB[srcdir] . "edittable.inc");

# We are using the following features on this page:
# sess for session variables
  page_open(array("sess" => "as"));

  if ($page && isset($page) && $page != "")
  {
    // TODO: [JSG] - Verify file exists, otherwise return to main page
    require($_PHPLIB["admindir"] . $page . ".php3");
  }

  // Save data back to database.
  page_close()
?>

All of the HTML, incluing the header tags exist in the file that is loaded.
But, when I make a change to one of the files, the browser doesn't pick it
up. I end up having to delete the cached pages and refresh in order to see
the changes.

Any idea what may be causing this?

Jeff

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.