Yes. As soon as the session expires, the valueUnbound event will be thrown. -ernie "Dr. Dragomir D. Dimitrijevic" wrote: > 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
begin:vcard n:Varitimos;Ernie tel;cell:781-929-3856 tel;home:781-784-1997 tel;work:781-784-3900 x-mozilla-html:TRUE url:http://www.skyserver.com org:Skyserver Consulting, Inc. adr:;;144 Upland Rd;Sharon;MA;02067; version:2.1 email;internet:[EMAIL PROTECTED] title:President fn:Ernie Varitimos end:vcard
