I think the beans u are talking are ActionForm..???
If so no need to worry.When u define action in struts-config.xml, you provide 
scope for ur bean as 
<action path="YourAction"       type="YourAction Class"
                                name="yourFormBean"
                                scope="bean-scope">
once bean scope is provided, struts creates a variable named as "yourFormBean" 
in scope you specified.You can just remove this variable from req/session after 
log off.
About session variable,You want to clear the whole session so you can use 
method:-session.invalidate() this will remove all session variable without need 
to specify their names.

Hope this helps you..
Best Luck

On Sat, 06 Aug 2005 David Thielen wrote :
>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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

Reply via email to