RE: session tracking in struts

2008-02-21 Thread Andy
gt; Subject: Re: session tracking in struts> > 2008/2/21, > Andy Hahn <[EMAIL PROTECTED]>:> > I haven't seen many Struts1 questions since > I have joined so hopefully this is the right place to be asking.> > Yes it is > :-)> > > I am using Struts/Tomcat

Re: session tracking in struts

2008-02-21 Thread Antonio Petrelli
2008/2/21, Andy Hahn <[EMAIL PROTECTED]>: > I haven't seen many Struts1 questions since I have joined so hopefully this > is the right place to be asking. Yes it is :-) > I am using Struts/Tomcat5.5 and I am using the pattern for session > management where I have a BaseAction class with execut

Re: Session tracking in struts?

2006-10-28 Thread Ed Griebel
To answer your question: 1) create a filter that does your tests for a "valid" session but only check it if the "isNewSession" flag in a session is not set. When you find a bad session, call session.invalidate() and forward to an for the login page. You should add redirect="true" to the action-fo