CGI - how to esnure exit application cleanly

can anyone shed light on this problem: I am developing a javascript
browser-client
and CGI program, to connect to database server: I want to ensure that if the
user exits the browser, or simply changes the page by navigating elsewhere
that I can cleanly exit the session - hence I need the client to inform the
cgi that it is unloading
the page.
I can easily catch the event but any subsequent request sent to the cgi
seems to
clash and usually be overridden by the simultaneous user-command to navigate
to
the new page. Any ideas?

thanks.	kevin hastie

Received on Friday, 12 February 1999 12:47:14 UTC