Too easy, dear Renaud. Session.invalidate INVALIDATES the session and doesn't only remove the beans.
To be polite: best regards Thomas -----Original Message----- >From : Renaud Waldura <[EMAIL PROTECTED]> To : Struts Users Mailing List <[EMAIL PROTECTED]> CC : [EMAIL PROTECTED] : 30 November 2001 20:14:25 Subject : Re: Removing all beans from a session session.invalidate() > >@see >http://java.sun.com/j2ee/j2sdkee/techdocs/api/javax/servlet/http/HttpSession >.html#invalidate() > > > >----- Original Message ----- >From: <[EMAIL PROTECTED]> >To: “Struts Users Mailing List“ <[EMAIL PROTECTED]> >Sent: Thursday, November 29, 2001 10:38 PM >Subject: Removing all beans from a session > > >> Hi Folks >> >> Whats the best way to remove all beans in a session? Should I use >> getAttributeNames() and then loop through this and delete each one or is >> there a quicker way? >> >> Cheers >> >> Tony >> >> >> >> -- >> To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >> For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> >> >> > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > >:-) As sceptical as one can be! (-:< ---------- Get a free, personalised email address at http://another.com TXT ALRT! Stop wasting money now. Send FREE, personalised txt msgs to UK mobile phones from http://another.com
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>