I have a couple thoughts and concerns about The 
Zend_Session_SaveHandler_Interface in general and what the 
Zend_Session_SaveHandler_Db (see 
http://framework.zend.com/wiki/display/ZFPROP/Zend_Session_SaveHandler_Db+-+Jordan+Raub):

1) In Zend_Session there are the methods remember*. These currently set cookie 
times. Would it be better to have a hook into the SaveHandler so that the 
expire time could be changed as well? I know with file system it doesn't really 
matter, but with this DB implementation the future expire time is set instead 
of relying on the modified time. So, maybe keep a reference to the SaveHandler 
and if it is set, tell it to change its expire time.

2) What if session.save_path is used as the default for the 
Zend_Session_SaveHandler_Db table name? I'm thinking a path in a file system is 
analogous to a table in a database.

3) This one might be more contrived, session.name could be the default name of 
the data column in a Zend_Session_SaveHandler_Db database table. 

Thank you,
Jordan Raub
 
He that teaches himself hath a fool for his master. -- Benjamin Franklin
Poor is the pupil who does not surpass his master. -- Leonardo da Vinci.



Reply via email to