Posted By

bradless on 01/11/11


search headers forms results cache expiring

Versions (?)

Prevent Web Page from Expiring

 / Published in: PHP

I use the following code to prevent a user from getting a "webpage expired" message when hitting the back button on a page where the search results are also on the page with the form.

  1. <?
  2. header("Cache-Control: public");
  3. ?>

Report this snippet  

You need to login to post a comment.