PDA

View Full Version : Refreshing page question!


wappo
04-17-2004, 01:36 PM
Hi all,
I have made a script which includes the tag:


<!--#include virtual="textdocument.txt" -->


the textdocument.txt is a database and the page needs to refresh so the page can keep up with the activity of the database as the contents of the database change a lot.

My problem is that when the page reloads the database doesn't,

Please can you help,
cheers,
wappo!

Willy Duitt
04-18-2004, 09:25 AM
Chances are your includes text file is being reloaded from the browser cache. Try using the no-cache meta tag in the HEAD of the text file to prevent caching.

eg: <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

.....Willy

wappo
06-13-2004, 11:18 AM
oh thanks