Check for live Data Source Name Before proceeding
Posted
by
n_kips
on Stack Overflow
See other posts from Stack Overflow
or by n_kips
Published on 2011-01-15T19:47:19Z
Indexed on
2011/01/15
19:53 UTC
Read the original article
Hit count: 240
Would it be ok to get a CF app to check for a valid database before proceeding to process that request?
This is because there may be instances where the database server may be down or being upgraded, hence an error comes when a db dependant request is made.
If there is no connection to the db server, the user can be safely redirected to a safe page.
Or can cfcatch work?
How can this check be done?
Thank you.
© Stack Overflow or respective owner