Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Nice tute, some notes on sqlite

by DavidH (Novice)
on Jun 23, 2011 at 13:50 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-03-29 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found