On Thu, 9 Aug 2001, Abhishek Vishwakarma wrote:

> Hi,
>
> I tried with setting the window.location property, but didnt worked.
> Plus i tried with <BODY> tag, but the problem is the MyUnload() is
> called, but the form submit or servlet redirection is not
> happening... ???
>
> <BODY onbeforeunload='MyUnLoad()'>
>
> I will make my problem more clearer...
> I want whenever a browser window is closed a servlet should be
> called which does some cleaning-up/post processing operation... !!
[ ... ]

This has come up a hundred times before -- check the archives.  Bottom
line, it can't be done 100% reliably, so you're going to need to rely
on a timeout mechanism.

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to