![]() |
![]()
| ![]() |
![]()
NAMEHTTP::Session::Store::DBI - store session data in DBI for HTTP::Session SYNOPSISuse HTTP::Session; my $session = HTTP::Session->new( store => HTTP::Session::Store::DBI->new( { dbh => ["dbi:SQLite:dbname=xxx", '', '', {RaiseError => 1}] } ), state => ..., request => ..., ); DESCRIPTIONstore session data in DBI. read HTTP::Session for usage. CONFIGURATION
TABLE SQLSQLite: CREATE TABLE session ( sid VARCHAR(32) PRIMARY KEY, data TEXT, expires INTEGER UNSIGNED NOT NULL, UNIQUE(sid) ); METHODSSEE ALSOHTTP::Session, DBI AUTHORFayland Lam, "<fayland at gmail.com>" COPYRIGHT & LICENSECopyright 2008 Fayland Lam, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|