This topic is locked

Redirect Error URL

7/25/2006 9:13:27 AM
ASPRunnerPro General questions
dcampbe11 author

Currently, if an error occurs the user is redirected to the asprunner site. To better serve the client, how do I change this redirect to my site so I can set-up an notification email for me to look at the problem for the customer.
Regards,
DC

J
Jane 7/25/2006

Hi,
to redirect to your site after error occurs modify ReportError function in the include/commonfunctions.asp file.

Locate following line:

<form target=_new action="http://www.xlinesoft.com/asprunner/errors/default.asp"; method="post" name="frmerror">



and replace it with your url.
To send message use this code:

email="test@test.com"

message="Hello there" & vbcrlf & "Best regards"

subject="Sample subject"

sendmail email, subject, message