Struts LogoffAction example error ?

2002-07-03 Thread Heligon Sandra
I posted a message on a forum about HttpSession and Logoff. I asked why doesn't it not allow to clear simultaneously all session attributes?, in the LoggoffAction of the struts example we find the following lines:

LogoffAction example

2001-09-05 Thread Brian K. Buckley
Hi, In LogoffAction in the struts example, the main three lines are: session.removeAttribute(Constants.SUBSCRIPTION_KEY); session.removeAttribute(Constants.USER_KEY); session.invalidate(); What is the purpose of the first two lines - why bother removing the items right before the session is

Re: LogoffAction example

2001-09-05 Thread SUPRIYA MISRA
Thats what is called as paranoid cleanup-lol From: Brian K. Buckley [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: LogoffAction example Date: Wed, 5 Sep 2001 10:40:49 -0400 Hi, In LogoffAction in the struts example, the main three lines

Re: LogoffAction example

2001-09-05 Thread Brian K. Buckley
Alright :). I was thinking it might have been intentional to give any HttpSessionListeners a chance to do something. I'm not clear on when HttpSessionBindingEvents occur - do they happen automatically when a session timesout or sesion.invalidate() is called, or do they happen only when it

RE: LogoffAction example

2001-09-05 Thread Nocera, Robert
PROTECTED]] Sent: Wednesday, September 05, 2001 11:17 AM To: [EMAIL PROTECTED] Subject: Re: LogoffAction example Alright :). I was thinking it might have been intentional to give any HttpSessionListeners a chance to do something. I'm not clear on when HttpSessionBindingEvents occur - do they happen

Re: LogoffAction example

2001-09-05 Thread Jonathan M Crater
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 05, 2001 11:17 AM To: [EMAIL PROTECTED] Subject: Re: LogoffAction example Alright :). I was thinking it might have been intentional to give any HttpSessionListeners a chance to do something. I'm not clear on when HttpSessionBindingEvents