Menu

#16 Template all HTML Error Messages

Release_2.1
open
nobody
7
2002-02-19
2002-02-19
No

Update all error messages to use a common subroutine and to use a
common template or set of templates (perhaps one for general
errors, one for db errors, etc.).

We could use CGI::Carp and its
$error_handler control to create a custom error page for general
errors and update the connError and dbaseError subs in base.pl to
use a different template. See the discussion at Perlmonks about
"Essential CGI Security Practices" for more details.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.