Re: keeping track of user connections

2000-11-20 Thread Manne Fagerlind

Actually, it's when the session times out (the server doesn't know if you
close the browser window unless you explicitly tell it, e.g. using a crafty
JavaScript).

/Manne

-Original Message-
From: M. Simms [mailto:[EMAIL PROTECTED]]
Sent: 20 November 2000 05:00
To: [EMAIL PROTECTED]
Subject: Re: keeping track of user connections


There are session monitor events which you can register listeners for to get
a response when a browser closes.

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Raman
 Sent: Sunday, November 19, 2000 7:18 AM
 To: [EMAIL PROTECTED]
 Subject: Re: keeping track of user connections


 Hi!

 But contact the browser (to check whether it is still connected), while
 performing a lengthy process?

 Raman.

 19-Nov-2000 0045 GMT.

 - Original Message -
 From: Dengler Martin [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, November 17, 2000 2:56 AM
 Subject: Re: keeping track of user connections


  Hi,
 
  sorry, but HTTP is a stateless Protocoll. after a client-request is
  answered by a server, the transaction is finished.
  if the user logs in and forgets to log out, u can do nothing
 about it, but
  wait for timeout.
 
  Greetings
  md
 

 ==
 =
 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://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: keeping track of user connections

2000-11-19 Thread M. Simms

There are session monitor events which you can register listeners for to get
a response when a browser closes.

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Raman
 Sent: Sunday, November 19, 2000 7:18 AM
 To: [EMAIL PROTECTED]
 Subject: Re: keeping track of user connections


 Hi!

 But contact the browser (to check whether it is still connected), while
 performing a lengthy process?

 Raman.

 19-Nov-2000 0045 GMT.

 - Original Message -
 From: Dengler Martin [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, November 17, 2000 2:56 AM
 Subject: Re: keeping track of user connections


  Hi,
 
  sorry, but HTTP is a stateless Protocoll. after a client-request is
  answered by a server, the transaction is finished.
  if the user logs in and forgets to log out, u can do nothing
 about it, but
  wait for timeout.
 
  Greetings
  md
 

 ==
 =
 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://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: keeping track of user connections

2000-11-18 Thread Raman

Hi!

But contact the browser (to check whether it is still connected), while
performing a lengthy process?

Raman.

19-Nov-2000 0045 GMT.

- Original Message -
From: Dengler Martin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 17, 2000 2:56 AM
Subject: Re: keeping track of user connections


 Hi,

 sorry, but HTTP is a stateless Protocoll. after a client-request is
 answered by a server, the transaction is finished.
 if the user logs in and forgets to log out, u can do nothing about it, but
 wait for timeout.

 Greetings
 md


===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



keeping track of user connections

2000-11-17 Thread Stefán F. Stefánsson

Hello..

This is more of a Servlet question I guess but I'm wondering if there is
any way to get notified as soon as the user disconnects a connection.

I know about having an object implement the HttpSessionBindingListener
interface but that doesn't notify me until the session times out... I
can use this to get notified when a user logs in but if he/she then does
something stupid, like closes the browser without pressing the
disconnect link first, the session hangs for a specific amount of time.
Is there any elegant solution to this?  Getting notified if the
connection is lost?

Thanks in advance,
Stefan Freyr


Stefan Freyr Stefansson
Software Developer
deCODE Genetics, Inc.

Phone: (+354) 570 2854
GSM:   (+354) 861 1718
Fax:   (+354) 491 3782

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: keeping track of user connections

2000-11-17 Thread Dengler Martin

Hi,

sorry, but HTTP is a stateless Protocoll. after a client-request is
answered by a server, the transaction is finished.
if the user logs in and forgets to log out, u can do nothing about it, but
wait for timeout.

Greetings
md

--
Sent through GMX FreeMail - http://www.gmx.net

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets