Is this a results page created by Data Assist? if so, the search is stored in a session so this will not be a problem
If this is a results page you created your self, you will need to store the ID in a session and use the session if the ID is not present.