Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Nice tute, some notes on sqlite

by DavidH (Novice)
on Jun 23, 2011 at 13:50 UTC ( #911093=note: print w/replies, xml ) Need Help??


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:
$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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://911093]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2022-01-21 18:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (59 votes). Check out past polls.

    Notices?