There's no good way to know when the user closes or navigates away
from the web page. (There is an "on close" event available in
Javascript. You might be tempted to send a signal to the server when
this happens, but the event isn't implemented the same way across all
browsers and if the user "closes" the page by quitting the browser you
will never see the event.)

What most people do is to open the connection, get any needed
information, and then close the connection -- all before rendering the
page.

...Richard


On 1/25/07, Henry Tong <[EMAIL PROTECTED]> wrote:

any idea how to release connection when user close the web page?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to