The search session variable will contain the conditions that where searched for, for example:
AND (columnName = "search term")
you would need to edit the code for the recordset to concatinate the results session variable, for example change:
$query_rsNext = sprintf("SELECT * FROM madelenaitemsforweb WHERE rankPrice > %s ORDER BY madelenaitemsforweb.rankPrice DESC LIMIT 1", GetSQLValueString($paramID_rsNext, "int"));
to:
$query_rsNext = sprintf("SELECT * FROM madelenaitemsforweb WHERE rankPrice > %s ".$_SESSION['WADbSearch1_pagename_results']." ORDER BY madelenaitemsforweb.rankPrice DESC LIMIT 1", GetSQLValueString($paramID_rsNext, "int"));
this is custom coding though and is not supported. also, i don't know the session name, so you will need to find that and adjust the example accordingly.