I am current developing a database-driven website where I'm using PHP to display dynamically generated product catalog pages. Within the product catalog, a user can select a category and then view all the products within that category, 5 per page.
In displaying 5 product results per page, I am using hidden form fields to pass parameters pertaining to db queries (just numbers used in the LIMIT statement and row counts) and navigation when flipping through next and previous results. On these pages, I have "Next Results" and "Previous Results" images that act as form submit buttons.
When I use these image buttons to flip back and forth through the results, everything words just fine. If I try to use the 'BACK' or 'FORWARD' buttons, however, I get the "Warning: Page Has Expired" error in IE. A similar error comes up when using Netscape...
Is there a way that I can I can cache the form data so that when someone hits the back or forward button, cached pages will be automatically reposted without doing a manual refresh? Currently I put all the hidden form parameters into one string and then parse them out using the explode function when the ACTION script is executed.
To get an idea of what I'm talking about, go to http://www.formmasters.com/NewSite/navigation/ManualChecksForms and go through some of the product results, trying to use the back and forward buttons.
Any help would be greatly appreciated 😃
BoilerRKD