on error redirect

Results 1 to 3 of 3

Thread: on error redirect

  1. #1
    Join Date
    Dec 1969

    Default on error redirect

    i need a way to see if any error have occured when a page is run then diplay some text. i havethe error command <BR>on error resume next at the top but not sure of the syntax to check if an error has occured

  2. #2
    Join Date
    Dec 1969

    Default RE: on error redirect

    Take a look:<BR><BR>http://www.devguru.com/Technologies/vbscript/quickref/err.html

  3. #3
    Join Date
    Dec 1969

    Default if ASP 2.0 then,

    use Err.Num &#060;&#062; 0 to check if you have an error, then response.write "your error mesg."

Posting Permissions

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