Welcome Guest, Not a member yet? Register   Sign In
Native PHP Session with Core_Storage

I have had some problems with codeginiter sessions, and I prefer to save userdata in server, not in cookies.

Core_Session is a codeginiter session wrapper, can be installed replacing your session handler in few minutes.

Some features:

'Zero' configuration, uses same session config directives.
Uses same CI_Session methods, replacing is very easy
Only one cookie: PHPSESSID
Can expire on browser close or be configured to expire on time
Can share same session between different subdomains
Can use memcache, files, session
Can refresh session every X seconds, to increase security
Can save any type of vars, string, array, timestamp, objects...
Core_Session use Core_Storage, a class to store key/values, debugdata, objects, vars, arrays...

Bitbucket repository: https://bitbucket.org/xperez/core-sessio...odeigniter

Core Session has been working on production environments, but are open to any issue/improvements.

Source and demo of Core_Storage, originaly named data-registry:


Added DebugData to be viewed in another browser window and some improvements.


Thanks for sharing!

Theme © iAndrew 2016 - Forum software by © MyBB