Skip to content

kahwee/php-db-session-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Database SessionHandler PHP class

Abstract DbSessionHandler. Test and working for MySQL. It uses PDO driver.

Recommended database session table

CREATE TABLE `sessions` (
	`id` varchar(63) CHARACTER SET ascii NOT NULL DEFAULT '',
	`data` text,
	`expire` int(10) unsigned DEFAULT NULL,
	PRIMARY KEY (`id`),
	KEY `expire` (`expire`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

About

Database SessionHandler PHP class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages