Timeout error

F

Fawke101

Hi there,

Is there any way i can ask a page -

if SQL Server timeout expired then
response.redirect("timout.asp")

I just want to be able to say - server busy - when the SQL server times out.
A bit fluffy i know, but the ppl im doing this for are fluffy.
Cheers

--
Thanks in advance

Fawke

Please remove ANTI and SPAM
from my email address before emailing me.

www.bradflack.com
 
B

Bob Barrows [MVP]

Fawke101 said:
Hi there,

Is there any way i can ask a page -

if SQL Server timeout expired then
response.redirect("timout.asp")

I just want to be able to say - server busy - when the SQL server
times out. A bit fluffy i know, but the ppl im doing this for are
fluffy.
Cheers

No. You only get notified about a time out in the error raised by the
command that caused the time out.
 
F

Fawke101

yea, sounds good - do you have any example code i could take a look at?

--
Thanks in advance

Fawke

Please remove ANTI and SPAM
from my email address before emailing me.

www.bradflack.com
Joeandtel said:
I use an if else statement and if there is a timeout; then I create a
message on the page that says to wait will loading; then I have the page
refresh between 3 to 10 seconds; This keeps happening until there is not
timeout. This makes the user think that the page is just taking a while to
load.
 
F

Fawke101

??

--
Thanks in advance

Fawke

Please remove ANTI and SPAM
from my email address before emailing me.

www.bradflack.com
Joeandtel said:
I use an if else statement and if there is a timeout; then I create a
message on the page that says to wait will loading; then I have the page
refresh between 3 to 10 seconds; This keeps happening until there is not
timeout. This makes the user think that the page is just taking a while to
load.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,146
Messages
2,570,832
Members
47,374
Latest member
EmeliaBryc

Latest Threads

Top