Hi,
I have a search script (generated by a third party product) that sits in various folders of my intranet along with some index files. I have modified this script so it only shows the number of results without the actual results.
I then have a main search screen which is meant to show the number of hits in each of the various indexes. I then use 'include' to list them one after the other
<br>
<!--#include virtual="../opm/search/searchcount.asp"-->
<br>
<!--#include virtual="../knowledge/search/searchcount.asp"-->
<br>
This works fine for the first one but when it tries to run the script in the knowledge folder it comes across lines where variables are redefined. I tried removing all of these lines but there is still stuff in memory being carried over from the one in the OPM folder so the number of results shown is the same.
Is there a way of resetting everything in one move so the script can run from scratch each time or will I have to go through the code to find out what is being carried across from the first execution?
I have a search script (generated by a third party product) that sits in various folders of my intranet along with some index files. I have modified this script so it only shows the number of results without the actual results.
I then have a main search screen which is meant to show the number of hits in each of the various indexes. I then use 'include' to list them one after the other
<br>
<!--#include virtual="../opm/search/searchcount.asp"-->
<br>
<!--#include virtual="../knowledge/search/searchcount.asp"-->
<br>
This works fine for the first one but when it tries to run the script in the knowledge folder it comes across lines where variables are redefined. I tried removing all of these lines but there is still stuff in memory being carried over from the one in the OPM folder so the number of results shown is the same.
Is there a way of resetting everything in one move so the script can run from scratch each time or will I have to go through the code to find out what is being carried across from the first execution?