check when the session was last used, and if it has expired (some time) then
rollback your transactions.
note, to do this, you will have to over ride the session expiration of the
servlet engine, see my previous post

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 12:09 PM
Subject: AW: 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

Hi,
I'm making the follow application:
The client application open a URLConnection with the serlet and the
servlet makes some selects, updates to a data base. When the client
down during a transaction would be necessary to make one rollback in
data base. Therefore I needed to know if the customer is or up.

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