Hi

I don't want to invalidate the session.  I need to simply remove all the beans.
Should I go with looping through the

getAttributeNames()

results and setting each to null?

Cheers

Tony


>-------- Original Message --------
>Subject: Re: Removing all beans from a session
>Date: Sat, 1 Dec 2001 10:48:26 +0000 (GMT)
>From: [EMAIL PROTECTED]
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: struts users mailing list <[EMAIL PROTECTED]>
>
>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?

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to