Skip to content

Save sessions in mysql database. Ideal usable on Google App engine platform

Notifications You must be signed in to change notification settings

janharsa/nette-mysql-session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mysql Session Handler

Custom MySQL session handler uses Nextras/DBAL and Nette DI

Requirements

Installation

Use Composer to install package janharsa/mysql-session-handler:

$ composer require janharsa/mysql-session-handler:~1.0

Setup

Register an extension in config.neon:

    extensions:
        sessionHandler: JanHarsa\Session\DI\MysqlSessionHandlerExtension

Default table name is 'sessions'. Can be changeg with adding this on the config.local.neon

sessionHandler:
    tableName: session_in_database

About

Save sessions in mysql database. Ideal usable on Google App engine platform

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages