Yes, that would be the ajax solution, but what i need is to use ajax
to implement comet, I mean, dont do the "multiple" queries from the
client using ajax, do 1 query from the client and from the server
point of view, dont return until there's a message to show to the
client.

On 27 oct, 12:06, James <[EMAIL PROTECTED]> wrote:
> I think a better solution would be to bring the user to an  
> intermediary page, then use ajax to test to see if the process is  
> done, that way the user doesn't sit on a blank white page and think  
> something isn't working and try to refresh the page.
>
> james
>
> On Oct 27, 2008, at 10:36 AM, Matias wrote:
>
>
>
> > Hi there!
> > I have a problem and maybe you guys could help me to resolve it…
> > if i have this function:
>
> > public function executeSleep()
> > {
> > sleep(10);
> > }
>
> > and if i run this function, i can’t run another function in the same
> > project untill this 10 seconds are finished…
>
> > Obviously, I don’t need a sleep(10) in my code, but I have some long
> > process in one of my functions…
>
> > I Hope you can help me… thank you veeery much!
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to