I don't know how to do it (tried a bunch of things), but agree it would be nice to know if the browser side of the connection has died because of a user hitting escape or whatever. Some processes may take several minutes. If a user gets impatient or double-clicks, it's a waste to keep running when the client is gone. Some way to poll for this would be cool...
Jim > > Is it possible for a module to get notified that a GET or POST request was > cancelled by the client? My procedure will take a long time to process and I > would like to know (during processing) if the request was cancelled. I > suppose I can do a Ns_ConnPuts during my processing and check for it's > return value and assume that if it failed then the request was cancelled. Is > there a more cleaner way? > > Thanks, > Ramin. >