I've created a page that a person will be redirected to if they're required to be logged in.
I make my modifications and can view that they are indeed saved.
However, for some reason, when a person is directed to this page, it shows the previous version of the page. Even if I go to another computer, it'll receive the previous version instead of the updated version.
What could cause this?

Comments

lhtown’s picture

A place to start would be by clearing the database cache.

Otherwise, you may have to give us some more info about how you are redirecting people and so forth.

ccdoss’s picture

How do you clear the database cache? I don't have it enabled through Drupal ( I know I probably should).

lhtown’s picture

If you have never enabled caching, you shouldn't need to clear the cache.

lhtown’s picture

To clear the cache in Drupal 6, there is a button in the admin pages for that. In Drupal 5, the simplest way is probably to use phpmyadmin and empty the appropriate tables from your database (DON'T delete or drop them).

jscoble’s picture

The don't delete or drop them statement may be confusing for some people.

Do not: DROP tablename

Do one of the following:
DELETE FROM tablename
or
TRUNCATE tablename

For MySQL the difference between the two depends on the version you are running and what the underlying DB engine that you are using is. As a rule of thumb TRUNCATE is faster, not transaction safe, will not return the number of rows deleted, ON DELETE triggers are not executed and auto-increment is reset. Most of this is not of concern when clearing the cache tables.

For other RDBMSs TRUNCATE is usually a bulk operation and as such not logged while DELETE FROM is logged in the transaction log.

jscoble’s picture

clear your browser cache