I was wondering if anyone can advise me on a problem I am having.
I have a number of search pages on a site, it searches fine. However I have noticed that if a user clicks on a result and then tries to return to the results page after viewing that page (using the back button on the browser) the user gets a an error message: Warning : Page has expired
On the results page, all the SQL is built dynamically as variables are passed from the search page. So I guess this is causing the time out error.
Someone suggested that it is because I am using the POST method as opposed to the GET method when submitting a form but I can't see this.
Any ideas of the best way to get around this?
I was thinking about writing the SQL to a session, or possibly passing the final SQL in to a variable and storing that in a temporary function?