[Phplib-users] Sessions in text files
Brought to you by:
nhruby,
richardarcher
From: Hristo O. <od...@gm...> - 2004-12-03 10:51:58
|
Hi everybody, I have trouble with phplib because it is writing its sessions in a mysql DB. It happens quite often that my active_sessions table is corrupted or inconsistent in some way. I would like to use PHP's session mechanism and even prefer its default setting of writing sessions in txt files somewhere. Did anyone make such a conversion and if yes could you give me some hints. An example will be greatly appreciated. As to the DB corruption, I can only say that my application is heavily used and my session data is quite big sometimes. The active_session table is usually 500+MB. May be the smoothest way would be to wrap PHP's functionality using PHPLIB's function so that such a conversion is less painful. Thanks, Christo |