Hi there!

Yes, I changed the default save handler to 
http://framework.zend.com/manual/en/zend.session.savehandler.dbtable.html
Zend_Session_SaveHandler_DbTable  and it also allows to save objects in
session data.

Right now i want to have another column in the database for storing userId
of the session owner to be able for example to:

1. See who's online
2. Force user to login (by deleting all his sessions)

So i dig into 
http://framework.zend.com/manual/en/zend.session.savehandler.dbtable.html
Zend_Session_SaveHandler_DbTable  and see no way to do it. As i examine the
proposal for this component in the wiki
(
http://framework.zend.com/wiki/display/ZFPROP/Zend_Session_SaveHandler_DbTable
Zend Framework: Zend_Session_SaveHandler_DbTable Component Proposal ) i can
see that such functionality was initially planned but was removed (or was
it?). So i guess the only thing one can do is go write save handler for
Zend_Session himself...

I just don't know if there's something i'm missing.

Dmitry. 
-- 
View this message in context: 
http://n4.nabble.com/Is-saving-userId-in-a-session-database-table-possible-Zend-Session-SaveHandler-DbTable-tp1359860p1415263.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to