php-developer-list | 2001122
Date: 12/19/01
- Next message: Derick Rethans: "[PHP-DEV] Re: Moving session gc to RSHUTDOWN."
- Previous message: derick <email protected>: "[PHP-DEV] Bug #14596 Updated: error occur when using include_path"
- In reply to: Yasuo Ohgaki: "[PHP-DEV] Adding session save handler?"
- Next in thread: Jon Parise: "Re: [PHP-DEV] Adding session save handler?"
- Reply: Jon Parise: "Re: [PHP-DEV] Adding session save handler?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Yasuo,
On Wed, 19 Dec 2001, Yasuo Ohgaki wrote:
> Currently I have ps_modules entry like like for pgsql save handler.
>
> static ps_module *ps_modules[MAX_MODULES + 1] = {
> ps_files_ptr,
> ps_user_ptr,
> ps_pgsql_ptr
> };
>
> It works, but I guess it's not the right way to do.
> What is the right way for adding session save handler?
> Or is it ok?
You can call this from your MINIT function (of the extension):
php_session_register_module(&ps_mod_srm);
Furthermore, I don't think you should add this function as a built-in
session handler, but make it an extension for the PECL repository in
PEAR.
regards,
Derick
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Derick Rethans: "[PHP-DEV] Re: Moving session gc to RSHUTDOWN."
- Previous message: derick <email protected>: "[PHP-DEV] Bug #14596 Updated: error occur when using include_path"
- In reply to: Yasuo Ohgaki: "[PHP-DEV] Adding session save handler?"
- Next in thread: Jon Parise: "Re: [PHP-DEV] Adding session save handler?"
- Reply: Jon Parise: "Re: [PHP-DEV] Adding session save handler?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

