I am customizing the search page of my website. Currently my website is displaying previous search result even after refreshing the page. How can I reset the search on next reload.
My search page code http://codepad.org/qr9nfvny
I am customizing the search page of my website. Currently my website is displaying previous search result even after refreshing the page. How can I reset the search on next reload.
My search page code http://codepad.org/qr9nfvny
That is most likely because, somewhere down the road (in your code) you saved the search string in your session which was not cleared after the search query finished executing. If you would clear the session of the search string your page would reload without executing the same search as before...