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 work for better separation. this works fine when i'm not behind a
proxy. but if i'm behind a proxy the END event is not fired (perhaps the
proxy is still holding the connection?)
do you have an idea what happens when there is a proxy between the server
and the client and how i can reset the variables?

kind regards,
jens

On 1/8/08, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
>
> 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 Hagel wrote:
> > 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 or what's going
> > wrong?
> >
> > 2nd question: it's a little bit unclear to my what happens when i call
> > cometEvent.close()
> > sometimes i use it and sometimes not with no difference.. :)
> >
> > Kind regards,
> > Jens
> >
> >
> > ------------------------------------------------------------------------
> >
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.516 / Virus Database: 269.17.11/1201 - Release Date:
> 12/28/2007 11:51 AM
> >
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to