D
David Lozzi
Hello,
I have a website I'm developing that will query a SQL database for basic
lists. If the database is unavailable, the site will continue to function as
a static site. The problem I'm running into is that when the SQL server is
unavailable, it takes a while for the page to load. I'm assuming its the
connection timeout for the SQL client. Defaults to 60 seconds? I don't know.
How can I specify the timeout to be like 5 seconds? I'm aware of the script
timeout property but I just want to specify the timeout for the SQL conn,
not the entire page of scripts, if possible.
Thanks,
I have a website I'm developing that will query a SQL database for basic
lists. If the database is unavailable, the site will continue to function as
a static site. The problem I'm running into is that when the SQL server is
unavailable, it takes a while for the page to load. I'm assuming its the
connection timeout for the SQL client. Defaults to 60 seconds? I don't know.
How can I specify the timeout to be like 5 seconds? I'm aware of the script
timeout property but I just want to specify the timeout for the SQL conn,
not the entire page of scripts, if possible.
Thanks,