I make longpolling query to, say, http://polling.site.com/polling. At the same time I need to make several other queries to server, say http://site.com/polling/?d=cr. But they are quenued and are fineshed only when longpolling connection finishes. Picture related

I use nginx/apache2, php5.
How can I make several queries during longpolling?
The reason was in the inability to use php session in two connections. So I used
session_write_closein longpolling loop and at this time second query completes.