Hi

I have a form which has two list boxes for sorting the results data displayed on my page. If i click an item from the results data, view the details of that item and then click the back button in Internet Explorer my results page displays the results fine. However, if i happen to change the list boxes and post the form to filter the results even further, then click an item and then click Go Back I always receive a 404 page cannot be found error message and i have to refresh the page in order to display the results.

Firefox simply pops up a message saying 'click OK to resend the POSTDATA' and all works fine once you click OK.

I am implementing Friendly URLS' so this means I can't use GET for my form action because it will append loads of rubbish to my URL (?listbox1=asc&listbox2=all) etc

Has anyone got any solutions on how to avoid this IE page from displaying the error message when I click to Go Back to my search results page?

Thanks in advance

    well, what happens is the post data from the form, with the result order [?] is being processed by php, and the next page uses the post data. firefox just asks to resend the post data that was sent before.

    i think what you can do is if your using clean urls, is have a redirect script that parses the post values somewhere that redirects and generates a clean url. you can use the header("Location: url");

      Write a Reply...