Hello, 
I'm trying to implement long polling in a Synfony 2 project to shorten response 
times in a "real-time" application I'm making. Essentially I have an ajax front 
end that requests data to the symfony-driven backend through XHR. My problem 
arises when I try to send a second request to the backend while a first one is 
on hang for long polling; the second request just get queued after the first, 
and doesn't get processed until the first returns.
I've googled a bit about the problem and found out that it could depend on 
session files being locked (see here: 
http://stackoverflow.com/questions/1430883/simultaneous-requests-to-php-script) 
during requests, but getting rid of session files didn't help (my backend is 
completely stateless, so it doesn't need sessions at all actually).
Has anyone come across this problems before? I think the problem might have to 
do with symfony and caching (setting locks on cache files during requests, 
maybe?), but I don't know enough of the guts of symfony itself to find a 
solution or a workaround..
Thanks a lot!

Gabriele Genta 

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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