Ways for web based application

HI,

I m working on web based application for jabber. We are using smac api to commmunicate with server.

Problem with listener when working with AJAX in web base application is tht if response is going to submit and we are having no request pending at tht time then message is being loosed. Is there any better way then using listener so tht this unwanted case can be removed.

You can summ up as … Is there any other way (expect using listener) to receive message categorized eg only for group chat or only invitation. Or if u r having better approach then plz help me.

Regards,

~exception

Message was edited by:

~exception

If I understand your question correctly, you should be able to use a PacketCollector.

Alex

Thnx for support. but can u give some sample code to use PacketCollector.

~exception

I had tried it… it wrking fine.

Thnx again

~Gaurav

Message was edited by:

~exception

This solution is for the case when packets are arriving at very fast rate and our application is not synchronizing with this spped. This PacketCollector seems to helpfu in this case.

Message was edited by:

~exception