> I am programming an AJAX based app, and I need to create a server-side
> event queue.  Each browser will be polling the server for new events
> and passing the last EventID that it has received.  I need a data
> structure that can be queried for any eventid greater than the one
> being supplied by the browser.  Also, the event queue can expire
> certain events once all of the browsers have received them, or to make
> it simpler, it could just be a rolling window of the last 20 events.
> I haven't done any programming with messaging queues before, so I'm
> totally at a loss as to where to start.  Any help would be greatly
> appreciated.
>
> Thanks,
> Mark

I've done only minimal work with MSMQ, but I think that's what you'd want
here.  It's all ready to go, so all you have to do is handle iterative
peeking until the EventID is reached.  You failed to mention whether the
events are specific to each browser or shared.

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to