Have the developer take a look at HttpSessionBindingListener. It's much
more appropriate for what s/he is trying to do. In any event,
sessionDestroyed may be getting invoked but blowing up. What makes the
developer think that sessionDestroyed is not getting invoked? Can you share
the relevant code from sessionDestroyed?


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-
bounces@xxxxxxxxxxxx] On Behalf Of James H. H. Lampert
Sent: Wednesday, January 27, 2010 10:57 AM
To: Java Programming on and around the iSeries / AS400
Subject: Re: HttpSessionListener.sessionDestroyed() not getting called

James Perkins wrote:
The HttpSessionListener.sessionDestroyed() will not be invoked in the
closes their tab or possibly even their browser. The method is invoked
HttpSession.invalidate() method is invoked. So a timeout could trigger
you can explicitly invoke it.

And under what conditions is HttpSession.invalidate() invoked?

(I've already suggested to the developer in charge of this particular
item that maybe it's not such a smart idea to depend on something
external to our code to time us out)

This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.