RAA - mysql-session/0.12

mysql-session / 0.12

Short description: MySQLStore class is database_manager for CGI::Session.
Category: Library/CGI
Status: beta
Created: 2005-03-02 08:21:22 GMT
Last update: 2005-03-03 04:18:26 GMT
Owner: Watanabe Keiji (Projects of this owner)
Homepage: http://moko.cry.jp:3232/~keiji/
Download: http://moko.cry.jp:3232/~keiji/linux/pub/files/mysql-session-0.12.tar.gz
License: GPL
Dependency:
Requires: ruby-dbi/0.0.23(*)
Requires: mysql-ruby/2.5.1(*)
(*): newer version exists
Description:

require "cgi/session"
require "mysqlstore"

@cgi = CGI.new()
@session = CGI::Session.new(@cgi,
{ "session_key" => "_session_key",
"new_session" => true,
"database_manager" => CGI::Session::MySQLStore,
"db.host" => "127.0.0.1",
"db.name" => "session_manager",
"db.user" => "session-user",
"db.pass" => "session-password",
"db.table" => "mysession"})
@session.close

Versions: [0.16 (2007-07-19)] [0.15 (2006-03-08)] [0.14 (2006-02-18)] [0.13 (2006-02-12)] [0.12 (2005-03-03)] [0.11 (2005-03-02)] [0.10 (2005-03-02)]

Edit this project (for project owner)

back to RAA top