Hi
With jsdk 2, and jdk 1.1.6, and ibm Websphere 2 or Apache Jserv, this method
is certainly called, even when the session is expired by the server
itself...dont know about the latter versions...
vaince
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Dr.
Dragomir D. Dimitrijevic
Sent: Tuesday, January 25, 2000 3:32 AM
To: [EMAIL PROTECTED]
Subject: session clean-up
An object that I store in my session has a persistent copy in
my database. Depending on object's state, the persistent
copy has to be removed from the database when the object
is removed from the session.
>From the API I understand that the object has to
implement HttpSessionBindingListener and valueUnbound method
that does clean-up.
What I am not sure if this method is executed when
sesion expires and the servlet engine destroys the session..
In other words, the user does not complete the procedure, and the object
stays stored in the session until the session expires.
Will my valueUnbound be exexuted?
Thanks
DD
___________________________________________________________________________
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
___________________________________________________________________________
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