Chacón Sánchez [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 25. September 2006 23:07
> An: Struts Users Mailing List
> Betreff: Erase Only some Session Objests and variables
>
> Hi all,
>
> How I can kill son objects and variables in session, without
> kill everything in sessio
y. Ltd.
Off : +61-3-9618-4085
Mob : +61-0411-354-838
"Daniel Chacón Sánchez" <[EMAIL PROTECTED]>
26/09/2006 08:41 AM
Please respond to "Struts Users Mailing List"
To: "Struts Users Mailing List" ,
[EMAIL PROTECTED]
cc:
Subject:
ROTECTED]>
26/09/2006 08:41 AM
Please respond to "Struts Users Mailing List"
To: "Struts Users Mailing List" ,
[EMAIL PROTECTED]
cc:
Subject: Re: Erase Only some Session Objests and variables
What do you suggest me to use for ke
What do you suggest me to use for keep that "preserve" names? A file, an
arrayList, or what? An example code of the use of that with the code that
Heidy gived??
2006/9/25, Jason King <[EMAIL PROTECTED]>:
Daniel Chacón Sánchez wrote:
> son = some :P
>
> 2006/9/25, Daniel Chacón Sánchez <[EMAIL
Daniel Chacón Sánchez wrote:
son = some :P
2006/9/25, Daniel Chacón Sánchez <[EMAIL PROTECTED]>:
Hi all,
How I can kill son objects and variables in session, without kill
everything in session like with session.invalidate().
I want that some objects always be in session and when I press a me
thaanks!
I will use it
2006/9/25, Heidy Gutiérrez Guzmán <[EMAIL PROTECTED]>:
You can use this code:
Enumeration enumeration = session.getAttributeNames();
while (enumeration.hasMoreElements()) {
String element = (String) enumeration.nextElement();
session
You can use this code:
Enumeration enumeration = session.getAttributeNames();
while (enumeration.hasMoreElements()) {
String element = (String) enumeration.nextElement();
session.removeAttribute(element);
}
If yo don't have delete any element, you can do this:
Enumeration enume
son = some :P
2006/9/25, Daniel Chacón Sánchez <[EMAIL PROTECTED]>:
Hi all,
How I can kill son objects and variables in session, without kill
everything in session like with session.invalidate().
I want that some objects always be in session and when I press a menu
option all other variables
Hi all,
How I can kill son objects and variables in session, without kill everything
in session like with session.invalidate().
I want that some objects always be in session and when I press a menu option
all other variables or object that are in session be erase.
i can´t use removeAttribute(..
9 matches
Mail list logo