On 6/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Can't you use an "onUnload" event handler for that? I think that's what
> Google Mail also uses for discarding message drafts that you're working
> on when you close the browser window.
>
> As the other poster already pointed out: just because you send stuff
> out doesn't mean it arrives. And if you rely on the connection closing,
> you're never safe from upstream proxies which decide to keep the
> connection open even though the browser window was closed.

The onUnload is a good idea, I might give that a try.

It's not so much that I rely on the connection closing, it's that I
would like to know if it closes in the middle of the operations.

I think I'll just rethink the way my app works. I'm not used to web
programming, it's a different way of thinking.

Jay P.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to