You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David Thielen <da...@windward.net> on 2005/08/06 00:14:41 UTC
Deleting all beans
Hi;
When a user logs out I would like to delete all beans that JSF created
and attached to the session. And I would like to end the session too if
possible.
Is there a way to do this. Preferably without having to know the names
of the beans as that requires we not miss one.
Thanks - dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: {Spam?} Deleting all beans
Posted by GR...@intellicare.com.
Dave,
You can use this: HttpSession.invalidate(); and poof! there go all your
beans..;)
regards,
Geeta
David Thielen <da...@windward.net>
08/05/2005 06:14 PM
Please respond to
"Struts Users Mailing List" <us...@struts.apache.org>
To
Struts Users Mailing List <us...@struts.apache.org>
cc
Subject
{Spam?} Deleting all beans
Hi;
When a user logs out I would like to delete all beans that JSF created
and attached to the session. And I would like to end the session too if
possible.
Is there a way to do this. Preferably without having to know the names
of the beans as that requires we not miss one.
Thanks - dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
CONFIDENTIALITY NOTICE:This email is intended solely for the person or
entity to which it is addressed and may contain confidential and/or
protected health information. Any duplication, dissemination, action
taken in reliance upon, or other use of this information by persons or
entities other than the intended recipient is prohibited and may violate
applicable laws. If this email has been received in error, please notify
the sender and delete the information from your system. The views
expressed in this email are those of the sender and may not necessarily
represent the views of IntelliCare.