Re: Comet API Question

2008-01-11 Thread Jens Hagel
i'm catching the subevents but they don't get fired. i've a problem with this szenario: i need to reset some serverside variables when the user clicks the reload button in the browser with an active hanging get request. i therefore used the main END event for detection because the subevents don't

Re: Comet API Question

2008-01-08 Thread Filip Hanik - Dev Lists
yes, uncommenting that valve in context.xml should do the trick, is it not firing or are you just not catching it? 2nd question, currently it just marks the request/response as non comet, and then calls response.finishResponse(), this will write any left over bytes to the socket. Filip Jens

Comet API Question

2007-12-29 Thread Jens Hagel
Hi, i need to detect if the user reloads the webapp or rather if the connection gets interrupted. i therefore use the CometEvent.EventSubType but the events don't get fired. in the context.xml i've uncommented the CometConnectionManagerValve. Do I have to instantiate the ConnectionManager by myself