you can add the ajax request onto a stack and execute them in a predefined 
order, so that they are not simoultaneously.

On Mon, 21 Feb 2011 16:01:33 +0200
Serkan Temizel <[email protected]> wrote:

> Hi zenders,
> 
> I have a session problem. On a page I load 8 to 30 simultaneous ajax
> requests to update the page.
> 
> When the first request completed all of the following request get 401
> authorization required error!
> 
> 
> I guess the following session regenerate causes this in the bootstrap.
> 
> 
> protected function _initRegenerateSession() {
>         $idt = Zend_Auth::getInstance ()->getIdentity ();
>         if ($idt->rememberme)
>             Zend_Session::rememberMe ( 864000 );
>         else if ($idt && ! $idt->rememberme)
>             Zend_Session::regenerateId ();
>         else
>             return false;
>     }
> 
> When I disable this method in bootstrap everything is OK.
> 
> Can you imagine a solution with regenerating sessions.
> 
> Serkan

Reply via email to