"stewert gallington" <> wrote in message
news:...
> Im running some pretty straight forward code.
>
> Mainly database access (SQL7) doing inserts and sometimes when the script
> runs it halts the IIS service dead in its tracks. Before the page can even
> finish loading.
>
> the error seems to be caused when i introduced this section of code into
the
> page.
Your code is very vulnarable...
Avoid creating strings and executing them on SQL without filtering on the
string.
I prefer to use the ADODB.Command to execute inserts and to have a
ADODB.Parameter to filter arguments.
This might not solve your 'hang' problem but it could be caused by it. Also
check for recursive loops or for loops that do not end.
--
compatible web farm Session replacement for Asp and Asp.Net
http://www.nieropwebconsult.nl/asp_session_manager.htm