i have a search form page, which takes me to reslutant page and show me so me some records acc to search criteria. And by clicking on any of the record it takes me to its details page. now there i had placed a back button on which i had used js script history.go(-1) to go back to the resultant page while showing the same results i had searched. but instead it 1st show "CONFORM FORM RESUBMISSION" and after i press F5 then it show me the particular 开发者_高级运维records.
Sounds like your search results page is a POST page. By default those are not cached by the browser, which is why you get that "form resubmit" stuff - the POST has to be reperformed and the page regenerated. Changing it to a GET will eliminate that.
Send you're search form data using GET , then it whont ask you to confirm form resubmission .
精彩评论