| Author |
HttpSessionListener
|
Antonio Giovanni
Ranch Hand
Joined: Jun 27, 2005
Posts: 85
|
|
Hi all,... I am copying and pasting from a previously discussed thread: It may depend upon which servlet container and version you are using. Under the Servlet 2.3 specification, the definition of the sessionDestroyed method was: quote: -------------------------------------------------------------------------------- Notification that a session was invalidated. -------------------------------------------------------------------------------- under Servlet 2.4: quote: -------------------------------------------------------------------------------- Notification that a session is about to be invalidated. -------------------------------------------------------------------------------- So it is perfectly plausible that a 2.3 engine would blow away the session prior to calling sessionDestroyed, while a 2.4 engine will not. My question: I am presently using Websphere App server 5.0 with Servlet 2.3 specs, BUT it actually behaves like Servlet 2.4 specs,.. i have access to session data in sessionDestroyed method - its like - Notification that a session is about to be invalidated. So, now my question is did websphere handle Servlet 2.3 specs in a different way ?? OR it is like some kind of a TYPO in Servlet 2.3 API documentation which they corrected in Servlet 2.4 API documentation. Thanks  [ August 09, 2006: Message edited by: Antonio Giovanni ]
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
|
Not a typo. And since this is Websphere-specific, I've moved this off to the Websphere forum.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: HttpSessionListener
|
|
|