Any detached/independent Session Library in PHP using Flat File or MySQL?
Any detached/independent Session Library in PHP开发者_开发百科 using Flat File or MySQL?
In addition to using Zend_Session
or any of these PEAR packages it is also pretty easy to write your own Session Handling. All you have to do is implement the required methods. See the example for session_set_save_handler in the PHP Manual.
As of PHP5.3 you could implement the callbacks with lambdas, so you don't have to clutter the global namespace with functions.
Zend_Session
would probably do it. and Zend_Session_SaveHandler_DbTable
there is also a save handler for flat file I believe.
精彩评论