http://qs321.pair.com?node_id=726153


in reply to RFC: Proposed tutorial - simple login script using CGI::Application

This node was taken out by the NodeReaper on Nov 28, 2008 at 13:47 UTC

Replies are listed 'Best First'.
Nice tute, some notes on sqlite
by DavidH (Novice) on Jun 23, 2011 at 13:50 UTC
    And if your going to use SQLite, make sure you get rid of the database disconnection feature, just comment out the line:
    $self->dbh->disconnect(); # close database connection
    According to this...

    http://blog.gmane.org/gmane.comp.lang.perl.modules.cgi-session.user/month=20080201

    Also be sure to:
    # $CFG{'DB_USER'}, # "webadmin",
    and
    "driver:sqlite;serializer:Storable;id:md5", # "driver:mysql;serializer:Storable;id:md5",
    All in Login.pm

    And simple.ini would need to be changed as well for the DB stuff.