This content has been marked as final.
Show 4 replies
-
1. Re: get attribute session when session is destroying
jules Oct 14, 2002 6:40 PM (in response to qjafcunuas)Use an HttpSessionAttributeListener - look it up in your JavaDoc,
Jules -
2. Re: get attribute session when session is destroying
qjafcunuas Oct 15, 2002 4:58 AM (in response to qjafcunuas)Hi,
Yes, HttpSessionAttributeListener could be a solution.
The trouble is that i put more than one parameter in my session. So, HttpSessionAttributeListener will be applied more than once per session.
HttpSessionActivationListener should be applied only once, isn't it ?
How can i use HttpSessionActivationListener ?
(Jboss2.4.9 + Tomcat)
tia
Bruno -
3. Re: get attribute session when session is destroying
jules Oct 15, 2002 5:22 AM (in response to qjafcunuas)Activation/Passivation only occurs when your servlet is declared distributable, and there is no guarantee as to when your session will be passivated. So - NO.
Jules -
4. Re: get attribute session when session is destroying
qjafcunuas Oct 15, 2002 6:00 AM (in response to qjafcunuas)Thanks for your help
So i'll use HttpSessionAttributeListener
Bruno