Hi all. I have .asp page that connects to a .dll that resides on our network that returns a string to a variable called 'buffer'.
Sometimes the network is unavailable to the server and no data shows in the file 'results.asp'.
The question I have is - when connection to the network .dll fails and the string is empty - Is there a way to redirect the user to a page that says the search is down?
All help is greatly appreciated! THANKS - cmcc
Code:
[blue]Set[/blue] mytest = [red]Server.CreateObject[/red]("WEBREPAY.TAXcalc")
[red]buffer[/red] = mytest.[blue]execute[/blue](cmd)
''code to parse the buffer here
''then an include file that shows results of the string:
%>
<!--#INCLUDE [red]FILE[/red]="results.asp"-->
<%
The question I have is - when connection to the network .dll fails and the string is empty - Is there a way to redirect the user to a page that says the search is down?
All help is greatly appreciated! THANKS - cmcc