Results 1 to 2 of 2

Thread: Redirecting

  1. #1
    Join Date
    Dec 1969

    Default Redirecting

    Hi ,<BR>I have an asp page .Now i want the page to be redirected to another page in case any error occurs .Like if the database server is down.Is there something like On error Resume Next in which i can redirect the user to the error page easily.<BR>Leejo

  2. #2
    Join Date
    Dec 1969

    Default RE: Redirecting

    Just do ON ERROR RESUME NEXT, then after the code that opens the database check the error number using <BR>If Err.Number&#062;0 then<BR> Response.redirect ErrorPage.asp?ErrNumber=<BR>&#039;etc.....<BR>End If

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts