Re: problem invalidating servlet

2001-01-24 Thread Boris Erukhimov
Try this ... if (event instanceof LogoutEvent) { HttpSession validSession = request.getSession(true); validSession.setAttribute(WebKeys.ModelManagerKey, mm); } ~boris Matt Bauer wrote: I have this small bit of code that handles a log out. What I want to do is invalidate the

RE: problem invalidating servlet

2001-01-24 Thread Conrad Chan
I think he was trying to invalidate the existing session before setting the attribute. Conrad -Original Message- From: Boris Erukhimov [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 4:05 AM To: Orion-Interest Subject: Re: problem invalidating servlet Try

Re: problem invalidating servlet

2001-01-24 Thread Matt Bauer
: problem invalidating servlet Try this ... if (event instanceof LogoutEvent) { HttpSession validSession = request.getSession(true); validSession.setAttribute(WebKeys.ModelManagerKey, mm); } ~boris Matt Bauer wrote: I have this small bit of code that handles a log out. What I

Re: problem invalidating servlet

2001-01-24 Thread Boris Erukhimov
wrote: I think he was trying to invalidate the existing session before setting the attribute. Conrad -Original Message- From: Boris Erukhimov [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 4:05 AM To: Orion-Interest Subject: Re: problem invalidating servlet