Reject user clicks on old pages?


I’ve read all about how to expire a session, but this doesn’t seem to be what I need. (unless I misunderstood it) The way I understand sessions, it’s all about expiring the cache. Here’s what I want:

I want to allow my site visitors to search without logging in.

However, once they have a search results page, I don’t want them to be able to leave it for days, and then come back and click on one of the links. (and have that old data sent to the server for processing)

Instead, as soon as they click anywhere on an old page, I want a dialog box telling them it’s expired to come up, and I want the page to erase itself.

But…maybe I don’t have to worry about this at all? Once I load my site onto a web host’s server, perhaps it will do this automatically? I’m currently developing my site locally using a local Apache server.

If you got a good laugh out of this question, could you explain the joke to me?? I’m brand new to php, so please don’t answer in acronyms! :-)

Thank you!

This is probably an HTML question that could be resolved with

This would force the page to NOT even store the old page.
Sponsor our Newsletter | Privacy Policy | Terms of Service