CGI-AuthRegister
view release on metacpan or search on metacpan
AuthRegister.pm view on Meta::CPAN
}
else {
logout(); print header_delete_cookie(), $HTMLstart, "Logged out.\n$Back"; }
}
=head1 DESCRIPTION
CGI::AuthRegister is a Perl module for CGI user authentication and
registration. It is created with objective to be simple, flexible,
and transparent. For the sake of simplicity, it is not completely
portable, but mostly designed for Linux environment. As an example,
it relies on a directly calling sendmail for sending email messages.
Example 1, included in the distribution, and shown above, illustrates
the main functionalities of the module in one CGI file. The module is
designed with the assumption that the CGI programs run with user uid.
=head1 PREDEFINED VARIABLES
=head2 $CGI::AuthRegister::AddAuthenticatedUser
AuthRegister.pm view on Meta::CPAN
If LoginScript (or default index.cgi) is the same as the current script
(which would cause an infinite-loop behaviour), a simple error page is
printed. If give, the back argument (BackScript) is passed to LoginScript
as a `goto' parameter. LoginScript is supposed to use this parameter to
redirect back to this page after a successful login.
=head1 SEE ALSO
There are already several modules for CGI authentication in Perl, but
they do not seem to satisfy some specific requirements, that could be
vaguely described as: simple, flexible, robust, and transparent.
Additionally, they do not typically include registration process for
new users and password reminders using email, which are added here.
These are some of the current implementation:
=over 4
=item [CGI::Application::Plugin::Authentication]
Too complex, relies on plugins for different backends (database, flat
CGI::AuthRegister version 1.403
===============================
The CGI::AuthRegister module provides a simple, transparent, and
flexible framework for authentication and registration of users
through CGI programs implemented in Perl. Further documentation is a
part of the file AuthRegister.pm in pod format. The convert it in
other formats, such as HTML, you can use a command such as:
pod2html AuthRegister.pm
INSTALLATION
To install this module type the following:
( run in 0.645 second using v1.01-cache-2.11-cpan-a1d94b6210f )