|
I am writing a PHP/mySQL based weblog at current.
Having just made an 'edit your entry' form which loads the entry with PHP and sets the default value of each text field in the form on the page to the value of the corrasponding field in the entry database, therefore the user can edit this, and when submitted, the database is updated. As the browser is caching the page, sometimes it takes multiple refreshes to get updates to register. This does not bother me on the main page, but on editing page, it can sometimes mean that the entry I am editing does not start off identical to the state of the entry at present, which can cause problems. What I need to know is: is there a way of telling the browser NOT to cache a page, and to ALWAYS load it from the server?
|