To enable the use of the back button in combination with sessions, I added the following line to the top of my pages:

ini_set("session.cache_limiter","public");

This works well, but now I have the problem that when someone clicks on a link they see the 'old' cached page which doesn't reflect the latest changes.

What I would like is the following:

-When people use the back button they should see the cached page

-When they click on a link they should see the "non-cached" page which reflects the latest changes.

How can I accomplish this?