Hello.
I am trying to catch errors where there is a request timeout, so the user will be brought to a specific web page where they can email the correct support people, instead of showing them the default error screen with a link to the webmaster on it.
I am having a problem with part of the default error message showing up. Here is my code for the form on the error page:
When the page comes up, it shows the text area field, then has the part of the error message displayed after it.
I have tried getting rid of the hidden variable "Diagnostics" and this solves the problem, but I want that information included in the email. Any one have any suggestions?
Thanks!
Kristen
I am trying to catch errors where there is a request timeout, so the user will be brought to a specific web page where they can email the correct support people, instead of showing them the default error screen with a link to the webmaster on it.
I am having a problem with part of the default error message showing up. Here is my code for the form on the error page:
Code:
<form action="../templates/user_got_error.cfm" method="post">
<textarea name="user_message" rows="4" cols="50" wrap="virtual">Enter message:</textarea>
<br>
<input type="hidden" name="error_template" value="#ERROR.Template#">
<input type="hidden" name="calling_page" value="#ERROR.HTTPReferer#">
<input type="hidden" name="diagnostics" value="#ERROR.Diagnostics#">
<input type="hidden" name="query_string" value="#ERROR.QueryString#">
<input type="hidden" name="dateandtime" value="#ERROR.DateTime#">
<input type="hidden" name="remote_address" value="#ERROR.RemoteAddress#">
<INPUT TYPE="Hidden" NAME="H_gen" VALUE="#error.generatedcontent#">
<br><br></center>
<br>
<input type="submit" value="Send Message">
<br><br>
</form>
When the page comes up, it shows the text area field, then has the part of the error message displayed after it.
I have tried getting rid of the hidden variable "Diagnostics" and this solves the problem, but I want that information included in the email. Any one have any suggestions?
Thanks!
Kristen