Re: Struts2 Session Invalidate.

2009-06-11 Thread Richard Xing
You can use the tag to set the session variable to empty string as below: -- View this message in context: http://www.nabble.com/Struts2-Session-Invalidate.-tp15627192p23988865.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts2 Session Invalidate.

2008-02-22 Thread Dave Newton
--- Laurie Harper <[EMAIL PROTECTED]> wrote: > Dave Newton wrote: > > --- Sanjeewa Saman <[EMAIL PROTECTED]> wrote: > >> I think it do not remove the data in the session after we invalidate it. > >> So do you have any idea of removing the data in the session. > > > >> ((org.apache.struts2.dispatch

Re: Struts2 Session Invalidate.

2008-02-22 Thread Laurie Harper
Dave Newton wrote: --- Sanjeewa Saman <[EMAIL PROTECTED]> wrote: I think it do not remove the data in the session after we invalidate it. So do you have any idea of removing the data in the session. ((org.apache.struts2.dispatcher.SessionMap) ActionContext.getContext().getSession()).clear();

RE: Struts2 Session Invalidate.

2008-02-22 Thread Dave Newton
--- Sanjeewa Saman <[EMAIL PROTECTED]> wrote: > I think it do not remove the data in the session after we invalidate it. > So do you have any idea of removing the data in the session. > ((org.apache.struts2.dispatcher.SessionMap) > ActionContext.getContext().getSession()).clear(); It might have b

RE: Struts2 Session Invalidate.

2008-02-22 Thread Sanjeewa Saman
@struts.apache.org Subject: Re: Struts2 Session Invalidate. try this ((org.apache.struts2.dispatcher.SessionMap) ActionContext.getContext().getSession()).invalidate(); -- View this message in context: http://www.nabble.com/Struts2-Session-Invalidate.-tp15627192p15628783.html Sent from the Struts - User mailing

Re: Struts2 Session Invalidate.

2008-02-21 Thread hardik_982
try this ((org.apache.struts2.dispatcher.SessionMap) ActionContext.getContext().getSession()).invalidate(); -- View this message in context: http://www.nabble.com/Struts2-Session-Invalidate.-tp15627192p15628783.html Sent from the Struts - User mailing list archive at Nabble.com

Struts2 Session Invalidate.

2008-02-21 Thread Sanjeewa Saman
Hi all, Can somebody please tell me how can I invalidate a session in struts2 . I tried the following , if (session instanceof org.apache.struts2.dispatcher.SessionMap) { try { ((org.apache.struts2.dispatcher.SessionMap) session).invalidate();