Re: [fw-general] Zend Auth: clearIdentity not working for simultaneous requests

2011-05-31 Thread Fernando Marcelo
Hi, Sorry for the delay to reply. Thank you for the answer. I think this was happening because the session.save_handler was set to memcache, instead of files. In any case, the clear session solution fixed the problem. Regards, Fernando Morgenstern cont...@fernandomarcelo.com Em

Re: [fw-general] Zend Auth: clearIdentity not working for simultaneous requests

2011-05-24 Thread Marco Pivetta
This happens because you're using the session storage, which writes at the end of the request. You can enforce a logout by doing something like: Zend_Auth::getInstance()-clearIdentity(); Zend_Session::close(); That should do the job and commit the logout to the session. Otherwise, you'll have to

[fw-general] Zend Auth: clearIdentity not working for simultaneous requests

2011-05-23 Thread Fernando Marcelo
Hi, I am having some issues with Zend_Auth. I have an application that sends Ajax requests every X seconds to server. Depending on what happened, this request can take a few seconds to be processed. What i realize is that clearIdentity doesn't work if there is another request for the same