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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to