Yasuo Ohgaki wrote:
> Some users need current behavior. i.e. User want make to do gc everytime
> before access. User may have complex gc code to meet their needs that
> requires gc at module init.

No doubt they need a callback. Help me with an example of a GC strategy
that needs the callback on session_start().

As we're on GC.. On high-load sites one might think of another GC
strategy. Currently every PHP script has to hook into the session
functions and provide a custom session handler to implement a custom GC
policy. This custom session handler is always slower but the build-in
function. If I could ask PHP on a list of all sessions I could use a
time-sheduled background process for GC. This way I do not slow down the
script execution.

Ulf

-- 
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