traping a request termination from a browser

From: John Michael (johnm_at_aiamail.com)
Date: 11/29/03


Date: Sat, 29 Nov 2003 04:23:32 -0600

Say I were to write a script that would server a large file through a web
interface and record somewhere the file size.

Is it possible for me to know if the user downloading the file terminated
the connection early so that I could record the correct size?

How would I trap this situation so that I could do some sort of roll back or
clean up if this were to happen?

Thanks
JM



Relevant Pages

  • Re: Cant ping or get some sites
    ... > nameservers. ... It is server specific, not interface specific. ... No my script does not modify ...
    (comp.os.linux.networking)
  • OVSADM.exe contra GUI-adm
    ... the GUI interface to install and set %domain%/userid have worked fine. ... sub-webs - and fspe on these. ... We have used the script below but it does not work as fine as the GUI ... REM the script is placed just outside of the virtual server ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • Re: CLI Registry Cleaner tool? Preferably freeware
    ... clean as a part of a build script that builds multiple VB6 objects. ... If not command line interface, one with a COM interface could work too. ...
    (microsoft.public.scripting.wsh)
  • Re: Tcl + Growl
    ... Calling an external command from within a Tcl ... script isn't that expensive and the "interface" is nice and clean. ...
    (comp.lang.tcl)
  • Re: Execute a script offline
    ... This solution only works if someone comes on your website a least once a ... > this would need access to the shell of the server. ... > your clean up script has been run that day and if not call the script ... >> I would like to execute a script every day at to clean up my database. ...
    (alt.php)