Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: how to expire php pages


Message #1 by "zubair" <muhamadzubair@h...> on Sat, 13 Jul 2002 11:23:13
You get that "Page Expired" error when a user tries to visit a page that
form data was POSTed to.  When a cache expires, all that happens is that the
server resends the page instead of having the client's browser just pull up
the page from its cache.

If you want to make visited pages expire, you'll have to roll your own
solution.  I'd recommend using sessions to track which pages have been seen
already.  If the page being accessed has already been seen, then display an
error instead of the page.


nik


  Return to Index