>a servlet can know that an application client down?

it can't. the http protocol is a stateless protocol, hence the client can
reconnect as many times as it wants.
the cookie (or URL) is the way the servlet keeps track of the session
information, and the servlet engine will expire the session if no activities
has happened in X amount of time.

Since most servlet engines don't have a hook into the session expiration,
you can implement this yourself.
(BTW, does tomcat have this?)
Just set the session to never expire and implement your own expiration.

hope this helps
Filip

~
Namaste - I bow to the divine in you.
~
Filip Hanik
Technical Architect
[EMAIL PROTECTED]

----- Original Message -----
From: "André Alves" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 17, 2001 11:39 AM
Subject: off-topic question - servlet notification


Hi,
How I make to notify a servlet that the application client is down,
or better, as a servlet can know that an application client down?

thanks


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/

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


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

Reply via email to