back button to the previous search page?
Posted on 2004-04-16
To help the performance, when we designed our full text search function, we didn't query the server every time users go to next search result page, instead we run our query once to return enough number of records and the "previous"/"next" button in the result page are all written in JAVA Script to dynamically display the information without interactive with our server. When the page is initially generated, we display the first 10 records, then users can use the DHTML features to switch pages.
It works great but the only problem is that everytime when users decide the searched link is not what they are looking for then they click the browser back button, it goes to the first page of search result, not the page they were at before linked to the specific article.
I am not surprised but is there any way around to get the "normal" behavior except for querying the server every time they got to the "next page"?
I hope I explained my problem. Any idea is appreciated!