Hi guys -
I am trying to write some code that listens to HTTPSessions, and when the server is going to destroy it, I want to do something with it first. sessionDestroyed() seems to be called AFTER the session is destroyed, and as soon as one attribute is removed due to invalidation, the session can't be accessed (IllegalStateException is thrown saying that the session is already invalidated). What is the best way to do this? Would it be better to have a Map where I add objects, and add that Map to the session, and then have the Map implement HttpSessionBindingListener.valueUnbound() and get the attributes that way? Cheers, Dion -- \\|// (o o) +----oOOo-(_)-oOOo--------------------------------------------------+ | [EMAIL PROTECTED] | "Dew knot trussed yore spell chequer two | | www.almaer.com/dion | fined awl yore mistakes" | +-------------------------------------------------------------------+ -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>