[Xitami] Serving an (un)changed file.

Thomas J. Hruska xitami@lists.xitami.org
Thu, 30 May 2002 14:15:45 -0400


At 10:53 AM 5/30/2002 -0700, Trent Reimer writeth:
>hi Hace,
>
>thanks for getting back to me and sorry if I was unclear. The problem I was
>having is that indeed I only got a new processed version when the file
>itself changed. The reason this was not helping me is that the file was
>pulling information from a database and the database was changing. Just
>because the PHP file itself did not change didn't mean that it shouldn't be
>re-processed. Whenever I changed the file itself (I just added a space
>character at the end of a line) sure enough the PHP file was re-processed
>and I got the latest info from the database.

I've had the same thing happen on occasion.  The problem is that the
browser cache is pulled up instead of the PHP page.  It really is annoying
since the databases I use show that the entries were entered properly.  So,
my solution is to put a "refresh" link that will update the page, which
works but is not attractive for those who have to use it.

Hope this helps!


          Thomas J. Hruska -- shinelight@shininglightpro.com
Shining Light Productions -- "Meeting the needs of fellow programmers"
                  http://www.shininglightpro.com/