about session_set_save_handler()
| From: | chu feng-cheng | Date: | Wed, 22 Nov 2000 15:47:21 +0000 |
| Subject: | about session_set_save_handler() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26641@lists.php.net to get a copy of this message | ||
if i want to store the session data in my local database, mysql, what should
i write in those functions?
function open ($save_path, $session_name) {}
function close() {}
function read ($id) {}
function write ($id, $sess_data) {}
function destroy ($id) {}
function gc ($maxlifetime) {}
and how dose session_set_save_handler, open, close, read, destroy and gc
work?
thx.
e-mail: umi6429@mis.yuntech.edu.tw