On 13.09.2004 11:51 Les Parkin wrote: > Hi, > > I am working on an application that allows users to run database queries > from a web browser (we are currently using Tomcat 5.0.25). A problem > arises when a user starts a new query and then decides that they want to > cancel it by hitting the browser "stop" button. After a lot of reading > on this already, I appreciate that it is not possible for Tomcat to be > notified that this has occurred, since no event is generated by the > browser that Tomcat can detect. > [...] > Has anybody got any suggestions as to how I can get this to work, or a > more general approach to solving the "stop" button problem? >
You could put a "Cancel query" button on the form itself, which then notifies tomcat. You then need to identify the running query in the session and kill it. But I guess there is no way of doing this with the Browser's stop button. Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
