August 20th, 2000, 12:59 AM
I'm working on an 'e-commerce-like' site, where users can look at catalogs, look at items description, and put items in shopping carts. Most of my pages are dynamically generated (using PHP4), with the contents pulled from a MySQL database.
The problem is, for example, from the catalog page I click on an item to see more detailed description (which is also dynamically generated). But then, if I want to go back to the catalog page by clicking the browser's Back button, I'll get a page saying that the page that I wanted has expired or no longer available.
Can somebody help me with this problem?
How can I keep the previous page in cache? Most of my pages do not get updated very often, except for the shopping cart page.
August 20th, 2000, 06:05 AM
August 24th, 2000, 11:19 AM
[QUOTE]Originally posted by freebsd:
[B]You need to remove the line -> <meta http-equiv="Pragma" content="no-cache">
The problem is, I don't even have that line that prevents caching... but I still get the 'page has expired' message.