Blue,
I believe this is usually done via a server setting. I was recently brushing up on Apache and I came across those options. I can't remember how to do it in IIS.
If the script still exists (but the script then tries to open a db record for example which has been deleted), say mySite.com/productInfo.asp?record=293 but product 293 no longer exists then productInfo.asp can definitely handle that. For example, if productInfo.asp opens a db and searches for record 293 it will get "EOF" (end of file) so you can handle this as follows:
- if rs.EOF then
-
response.redirect "productMissing.asp"
-
end if
Let me know if this helps.
Jared