On 22.11.2009, at 06:12, Arpad Ray wrote:

> Attached is a patch (against HEAD, includes tests) which allows users to 
> extend any session handler in an object oriented fashion.
> 
> By extending the new internal class SessionHandler, users can wrap or 
> override methods of whatever session handler is in use, or implement a 
> complete custom handler.
> 
> Usage notes:
> - Calling session_set_save_handler(class) after session_set_save_handler(a, 
> b, c, d, e, f) wouldn't transparently extend the first 

sounds useful. i assume with this i could extend for example the session 
handler that comes with the Memcached extension? could you provide a code 
example of how that would look like?

regards,
Lukas Kahwe Smith
m...@pooteeweet.org




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

Reply via email to