I've come across this article which answer to my question:
http://ch2.php.net/manual/en/ref.session.php#64525

I'll use the idea to call Zend_Session's writeClose($readonly = true) method
as soon as I finish writing into session, but now I wonder how I can re-open
for writing later in the code in the same request.



debussy007 wrote:
> 
> Hi,
> 
> For each request I open a session to store the last action that has been
> accessed and other stuff.
> 
> In one of my pages I want to call simultneously different asynchronous
> ajax calls, but those will act as synchronous because in PHP, the sessions
> are locked (and as mentionned before, for each request I open a session,
> so the session will be unlocked at the end of the request). So the second
> ajax call will wait until the first request has been done etc.
> 
> Has anyone already encountered this issue and what are the different
> solutions to bypass this problem ?
> Any tips are welcome, thank you.
> 

-- 
View this message in context: 
http://www.nabble.com/Simultaneous-asynchronous-ajax-requests-and-Zend_Session-tp25080411p25082104.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to