image image Home About Products Downloads Support Links Contact
image

IntraWeb
» News
» Blog
» General features
» Why IntraWeb?
» How does IW Work?

Bundled Users
» Delphi 7 Users 
» Delphi 2005 Users
» BDS 2006 Users
» Delphi 2007 Users

Technical info
» Why IntraWeb?
» Comparison with
   Other Web Tools

Resources
» Getting Started
» Documentation
» Articles
» Books
» Third Parties
» Tutorials
» Training

What others say
» Case Studies
» Companies using IW
» Demos
» Magazine Reviews
» User Quotes

Miscellaneous
» Just for Fun

Registered Users
» Bug System
» Login





Copyright
2002 - 2009
Atozed Computer
Software Ltd.

image
Buy Online   Download Support  FAQ Questions
Atozed Home  »  IntraWeb  »  IntraWeb Blog

Customizing the display of errors

9/14/2008

IntraWeb has several options to customize the display of error messages.

Templates

In the templates directory you can specify two files, IWException.html and IWError.html.

IWException.html

IWException.html is used when an exception is raised in your code in a form's event. However it will only be used if the ServerController.ExceptionDisplayMode is set to a value other than smAlert. smAlert is the default, so unless you change it IWException.html will not be used.

IWError.html

IWError.html is used when the display system is not active and IntraWeb cannot guarantee its ability to display anything except simple HTML. These situations are:

  • Internal IntraWeb errors. These are often caused by:
    • Malformed HTTP requests from hack attempts
    • Bugs
  • Errors during User Session creation - This template is also used if an error occurs during session creation, including user code that is called in events.
  • If you have used an option such as tmCookie and the browser or device does not support cookies and ServerController.NoCookieSupport has not been specified.
  • If an unknown browser is detected and ServerController.UnknownBrowser has not been specified.
  • For HTML 3.2 and WAP: If an unknown device is detected and ServerController.DeviceNotSupported has not been specified.

<< Previous Entry  Next Entry >>




CodeGear - Where Developers Matter