Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component

Index of Chilkat Blog Posts

November 20, 2007

Writing LastErrorText to ASP Response

Each Chilkat component has three standard properties: LastErrorText, LastErrorHtml, and LastErrorXml. They all contain the same information, but in different formats: plain-text, HTML, and XML. These properties contain detailed information about the last method called. If the method is successful, the last-error information will provide non-error information, just in case you are interested. For example, during a POP3 SSL connect, you may wish to visually verify the SSL connection details…

If your ASP page writes LastErrorText using Response.Write, you may wish to HTML-escape it, and enclose the output in pre-format tags (

), otherwise it’s a jumbled mess, and any left-angle bracket characters will hide output, because the browser will interpret this as the opening of an HTML tag. Instead, write LastErrorHtml to Response.Write.

Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.