Ok gave this a quick once over.

Ability to set a callback on write/change of session data. This way for example I could auto handle saving changes to the users settings that might be stored in the session. Or maybe I want to track which logins are online, I could check to see if this person has been assigned a login yet and record his login time or something.


http://www.ralphschindler.com/subversion/Zend_Session/lib/Zend/Session/SaveHandlerInterface.php doesn't show anything so I can't see if some past ideas where used.

The main ones being

1. Hash on read, only write if hash changes.. this has been confirmed that php is a little "stupid" on this point

2. Ability to tie in memcache or Zend_Cache/some sort of caching layer ability

3. logging, when is a session created, when is it destroyed, some way to provide callbacks for the various methods so things like how long a person was logged in can be checked.







Richard Thomas - CEO
Cyberlot Technologies Group Inc.
507.398.4124 - Voice


André Hoffmann wrote:


On 10/6/06, *Ralph Schindler* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:



    Darek wrote:
     > AFAIK there's  only proposal of Zend_Session
     >


    There is code, in fact I am just waiting for the go ahead and feedback
    notes from Gavin and zend to make changes and get it into the
    incubator.

    My current codebase that supports the methods and conventions outlined
    in the proposal can be found here:

    http://www.ralphschindler.com/subversion/Zend_Session/
    <http://www.ralphschindler.com/subversion/Zend_Session/>

    All feedback is SUPER-GREATLY appreciated as I haven't had that many
    people use this / play with it yet.


I would have used it - call me a chicken, but I really was afraid of heavy API changes ;)

    I have unit tests on the way (in the new Unit testing harness suite),
but thats a few days out as well.

That makes the whole thing a lot more interesting.

    So soon, very soon..

    -ralph




--
best regards,
André Hoffmann
ZF-Blog: http://andrehoffmann.wordpress.com/

Reply via email to