Solved

Intraweb - multiple error pages

Posted on 2010-11-18
1
1,325 Views
Last Modified: 2013-11-23
Currently, on all errors  intraweb shows its logo with error page
Would like to display own error page depending on the error so the user will not see the Intraweb error page..

And I dont mean the session timeout...
Looking for a solution that would handle by exception type perhaps

TIA
0
Comment
Question by:controlr
1 Comment
 
LVL 7

Accepted Solution

by:
ebob42 earned 500 total points
Comment Utility
You can try to handle all errors yourself of course, by placing all code inside a try-except block. Also, the OnException event handler of the Server Controller is called when an exception is not handled by the IntraWeb application. If you don't implement OnException, then the following default code is executed:

procedure TIWServerController.IWServerControllerBaseException(
  AApplication: TIWApplication; AException: Exception);
begin
  AApplication.ShowMessage(AException.Message);
end;

This will show that error page (I believe), so if you implement the OnException event handler you can produce your own error message of jump to your own page if you want.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now