will the unload js-script  get called if the user closes the browser with
say Alt-F4 ?

> -----Original Message-----
> From: Rajesh Punjabi [SMTP:[EMAIL PROTECTED]]
> Sent: 19 July 2002 11:40
> To:   [EMAIL PROTECTED]
> Subject:      Re: List of users logged in
>
> One way you can handle user closing the browser is:
> In your HTML page try to use frames ( even if you dont have frames)  Let
> the whole page be in one frame and then have one frame of width and height
> as 0.
> Now even when you navigate through your application the frame should
> always
> be there.
> Finally write some javascript code which should be executed on unloading
> of
> the frame.
> So now when the frame is unloaded you call some Servlet which essentially
> means that the user is logging off.
> There is one catch, i.e when the user has multiple browser windows open in
> the same session this will be a problem.  But with some more logic you can
> wrok around this problem also.
>
> acc. to me this is the only real solution
>
>
> Rajesh
>
>
>
>
>
>                       subbu
>                       <subramanian.swaminathan@I        To:
> [EMAIL PROTECTED]
>                       ONIDEA.COM>                       cc:
>                       Sent by: A mailing list           Subject:  Re: List
> of users logged in
>                       about Java Server Pages
>                       specification and
>                       reference
>                       <[EMAIL PROTECTED]
>                       >
>
>
>                       01/19/2001 02:55 PM
>                       Please respond to A
>                       mailing list about Java
>                       Server Pages specification
>                       and reference
>
>
>
>
>
>
> But...if the user closes the browser ...using browser's close button...
> how to handle...
>
> ----- Original Message -----
> From: "Adrian Janssen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 19, 2002 2:09 PM
> Subject: Re: List of users logged in
>
>
> > maintian the list in a bean with application scope
> >
> >
> > > -----Original Message-----
> > > From: subbu [SMTP:[EMAIL PROTECTED]]
> > > Sent: 19 January 2001 10:19
> > > To:   [EMAIL PROTECTED]
> > > Subject:      List of users logged in
> > >
> > > Hi,
> > > i want to list the users logged in our application
> > >
> > > ie:
> > > 1.List of users logged in
> > > 2.login time.
> > >
> > > can u suggest best ways to do this.
> > >
> > > thanks in advance...
> > >
> > > regards
> > > subbu
> > >
> > >
> ==========================================================================
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > > JSP-INTEREST".
> > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> > > DIGEST".
> > > Some relevant FAQs on JSP/Servlets can be found at:
> > >
> > >  http://archives.java.sun.com/jsp-interest.html
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> > >  http://www.jguru.com/faq/index.jsp
> > >  http://www.jspinsider.com
> > --
> >
> > It is the strict policy of Truworths that its e-mail facility and all
> > e-mail communications emanating therefrom, should be utilised for
> > business purposes only and should conform to high professional and
> > business standards.   Truworths has stipulated certain regulations in
> > terms whereof strict guidelines relating to the use and content of
> > e-mail communications are laid down. The use of the Truworths e-mail
> > facility is not permitted for the distribution of chain letters or
> > offensive mail of any nature whatsoever.   Truworths hereby distances
> > itself from and accepts no liability in respect of the unauthorised
> > use of its e-mail facility or the sending of e-mail communications
> > for other than strictly business purposes.   Truworths furthermore
> > disclaims liability for any  unauthorised instruction for  which
> > permission was not granted.    Truworths Limited accepts no liability
> > for any consequences arising from or as a result of reliance on this
> > message unless it is in respect of bona fide Truworths business for
> > which proper authorisation has been granted.
> >
> > Any recipient of an unacceptable communication, a chain letter or
> > offensive material of any nature is requested to notify the Truworths
> > e-mail administrator ([EMAIL PROTECTED]) immediately in order that
> > appropriate action can be taken against the individual concerned.
> >
> >
> ==========================================================================
> =
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://archives.java.sun.com/jsp-interest.html
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> >  http://www.jguru.com/faq/index.jsp
> >  http://www.jspinsider.com
> >
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
--

It is the strict policy of Truworths that its e-mail facility and all
e-mail communications emanating therefrom, should be utilised for
business purposes only and should conform to high professional and
business standards.   Truworths has stipulated certain regulations in
terms whereof strict guidelines relating to the use and content of
e-mail communications are laid down. The use of the Truworths e-mail
facility is not permitted for the distribution of chain letters or
offensive mail of any nature whatsoever.   Truworths hereby distances
itself from and accepts no liability in respect of the unauthorised
use of its e-mail facility or the sending of e-mail communications
for other than strictly business purposes.   Truworths furthermore
disclaims liability for any  unauthorised instruction for  which
permission was not granted.    Truworths Limited accepts no liability
for any consequences arising from or as a result of reliance on this
message unless it is in respect of bona fide Truworths business for
which proper authorisation has been granted.

Any recipient of an unacceptable communication, a chain letter or
offensive material of any nature is requested to notify the Truworths
e-mail administrator ([EMAIL PROTECTED]) immediately in order that
appropriate action can be taken against the individual concerned.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to