Native PHP Session with Core_Storage - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Native PHP Session with Core_Storage (/showthread.php?tid=57681) |
Native PHP Session with Core_Storage - El Forum - 04-02-2013 [eluser]XMadMax[/eluser] 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-session-storage-for-codeigniter Core Session has been working on production environments, but are open to any issue/improvements. Native PHP Session with Core_Storage - El Forum - 04-03-2013 [eluser]XMadMax[/eluser] Source and demo of Core_Storage, originaly named data-registry: http://code.google.com/p/data-registry/ Native PHP Session with Core_Storage - El Forum - 04-03-2013 [eluser]XMadMax[/eluser] Added DebugData to be viewed in another browser window and some improvements. Native PHP Session with Core_Storage - El Forum - 07-17-2013 [eluser]quickshiftin[/eluser] Thanks for sharing! |