Solved

Intraweb - multiple error pages

Posted on 2010-11-18
1
1,345 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
ID: 34168271
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

840 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