Look at HttpServlet.destroy()

---------------------
What was said ....

A different way:

I have a session with an attribute "logon" which contains the current
user
logon.
When the session dies, and only when the session dies, I want to output
this
attibute to the Tomcat's output (System.out)

How do you do that?


Previous attempts:

I tried to use HttpSessionBindingListener and then HttpSessionListener
In both case, my code is called AFTER the session had been invalidated:
a session.getAttribute() throws an exception: Session already
invalidated
nothing can be done with the session anymore...



=====
Mark Zawadzki Performance Engineer/DBA/Programmer extraordinaire�[EMAIL PROTECTED]  
[EMAIL PROTECTED]"Programming today is a race between software engineers 
striving to build bigger and better idiot-proof programs, and the universe trying to 
build bigger and better idiots. So far, the universe is winningRobert Cringle 
(columnist, author, host of "Triumph of the Nerds")

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

___________________________________________________________________________
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

Reply via email to