in reply to Reaped:
in thread RFC: Proposed tutorial - simple login script using CGI::Application
And if your going to use SQLite, make sure you get rid of the database disconnection feature, just comment out the line:
According to this...$self->dbh->disconnect(); # close database connection
http://blog.gmane.org/gmane.comp.lang.perl.modules.cgi-session.user/month=20080201
Also be sure to:and# $CFG{'DB_USER'}, # "webadmin",
All in Login.pm"driver:sqlite;serializer:Storable;id:md5", # "driver:mysql;serializer:Storable;id:md5",
And simple.ini would need to be changed as well for the DB stuff.
|
---|
In Section
Meditations