note 20829 added to function.session-set-save-handler
| From: | jpm at phpbrasil dot com | Date: | Wed, 17 Apr 2002 14:51:55 +0000 |
| Subject: | note 20829 added to function.session-set-save-handler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29488@lists.php.net to get a copy of this message | ||
You may also use static class methods as the 'function names' for
session_set_save_handler(), as in:
<?php
session_set_save_handler(
array("SessionHandler", "open"),
array("SessionHandler", "close"),
array("SessionHandler", "read"),
array("SessionHandler", "write"),
array("SessionHandler", "destroy"),
array("SessionHandler", "gc")
);
Anyway, just a little note that this is also possible.
--
http://www.php.net/manual/en/function.session-set-save-handler.php
http://master.php.net/manage/user-notes.php?action=edit+20829
http://master.php.net/manage/user-notes.php?action=delete+20829
http://master.php.net/manage/user-notes.php?action=reject+20829