Hi
I am keen to understand a way around a problem I am encountering.
When someone uses the search facility in my website on IE, my script detects that the search button has been pressed and then includes my searchresults.php page as such:
if (isset($_POST['searchsubmit'])) {
include($_SERVER['DOCUMENT_ROOT'] . '/search.php');
exit();
}
and this script displays the results accordingly.
If I then click an item from the results, and then hit the BACK button on my browser, the page cannot be displayed.
If I do this in Firefox it prompts me to POST the variables again, however, I have seen sites that use this same method but do not have any problems in going back and displaying the search results without loss of the page.
What am I doing wrong?
Many Thanks for reading.