Hi!

    2. What happens if session module is set to "user" in configuration
    - what old_mod will be then and how this patch will work?


It now raises an error rather than segfaulting if the user module is
selected but no handler has been registered. This should really halt
execution which it doesn't at the moment but I'll raise that separately.

I'd say if it's "user" then it should return an error from the set_handler function.

    4. I think it also makes sense to allow passing object instead of class.


I've allowed objects to be passed now but I think this should probably
be discouraged since it's going to be called in a static context anyway.

I don't see anything inherently wrong with having session object.
--
Stanislav Malyshev, Zend Software Architect
s...@zend.com   http://www.zend.com/
(408)253-8829   MSN: s...@zend.com

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to