Index: trunk/kernel/include/advsearch.php =================================================================== diff -u -r13 -r35 --- trunk/kernel/include/advsearch.php (.../advsearch.php) (revision 13) +++ trunk/kernel/include/advsearch.php (.../advsearch.php) (revision 35) @@ -45,7 +45,8 @@ { global $objSession; - $this->ResultTable = $objSession->GetSessionKey()."_Search"; + //$this->ResultTable = $objSession->GetSessionKey()."_Search"; + $this->ResultTable = $objSession->GetSessionTable('Search', ''); $this->classname= $DataClass; } @@ -158,6 +159,7 @@ $SelectSQL .= "GROUP BY $idField "; $this->adodbConnection->Execute("DROP TABLE ".$this->ResultTable); $full_sql = "CREATE TABLE ".$this->ResultTable." ".$indexSQL.$SelectSQL; + $this->adodbConnection->Execute($full_sql); //echo "
$full_sql
"; }