Solved

Intraweb - multiple error pages

Posted on 2010-11-18
1
1,371 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

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 The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses
Course of the Month3 days, 23 hours left to enroll

630 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