In message <[EMAIL PROTECTED]>, Jim Byrne
<[EMAIL PROTECTED]> writes
>Hi,
>
>I've created a website search form for a client, i.e., a visitors
>types a search term in, and the script produces a set of links to
>pages on the site.
>
>The problem I'm having is that the client isn't happy because if they
>click their browser back button - after choosing a page from search
>results page - a dialog box appears saying the results have expired
>from teh cache - and do they want to repost the data.
>
>It seems to me that that's just the way it works, i.e., if they want
>to look at the results page again the $_POST data needs to be re-sent.
>They seem to think it's some kind of bug. Are there any tricks to get
>around this? I.e., if they click the back button can they go directly
>back to teh search results page?
>
>Thanks.
>Jim
I am pretty sure that I used to have that on my sites (PHP, MySQL) when
using IE. But I can't remember what I did. What is the exact message?
Try
header("Cache-control: private");
which goes before doctype...
--
Pete Clark
Sunny Andalucia
http://www.hotcosta.com/comm_1.htm