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

session tracking in struts

2008-02-21 Thread Andy Hahn
I haven't seen many Struts1 questions since I have joined so hopefully this is the right place to be asking. I am using Struts/Tomcat5.5 and I am using the pattern for session management where I have a BaseAction class with executeAction(). I can't remember the pattern name but hopefully you

Re: Session tracking in struts?

2006-10-28 Thread Ed Griebel
ce the user logon, i will maintain a session and for any request thenafter upto logout i need to test that session is valid, otherwise i need to display sessionExpire page and requires relogin. please let me know that how to do it? ur's Mallik -- View this message in context: http://www.nabble

Session tracking in struts?

2006-10-27 Thread Mallik
requires relogin. please let me know that how to do it? ur's Mallik -- View this message in context: http://www.nabble.com/Session-tracking-in-struts--tf2527634.html#a7045712 Sent from the Struts - User mailing list archive at Nabbl

Re: Session tracking correct approach

2006-07-31 Thread purushottam hegde
Hi Prerna, If i am not wrong , this is not session tracking. it is session validation. 1) this has a problem, It unnecessarily creates a session. 2)think it works but using browser back button might fail 3) think it works but using browser back button might fail 4)Using filters (Cookies

Session tracking correct approach

2006-07-31 Thread prerna.sawhney
Hi All, I would like to know which is the best approach for session tracking in struts among the following 1) Writing your own ActionServlet class which will have the following code public class MyActionServlet extends ActionServlet{ /* (non-Javadoc

Re: Session Tracking

2006-07-29 Thread purushottam hegde
gt; -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, July 28, 2006 4:02 PM > To: user@struts.apache.org > Subject: RE: Session Tracking > > > Hi All, > > What code do I explicit need to write to be able to call > session.invalidat

Re: Session Tracking

2006-07-28 Thread Laurie Harper
first Struts project) -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Laurie Harper Sent: Friday, July 28, 2006 3:40 PM To: user@struts.apache.org Subject: Re: Session Tracking Importance: High You only need to do that if you need to take some action on session expiry; th

RE: Re: Session Tracking

2006-07-28 Thread Givler, Eric
t: Friday, July 28, 2006 3:40 PM To: user@struts.apache.org Subject: Re: Session Tracking Importance: High You only need to do that if you need to take some action on session expiry; the servlet container will take care of calling session.invalidate() for you automatically. L. Patil, Shee

Re: Session Tracking

2006-07-28 Thread Laurie Harper
when a session is destroyed */ public void sessionDestroyed( HttpSessionEvent httpSessionEvent ) { } } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 4:02 PM To: user@struts.apache.org Subject: RE: Session Tracking

RE: Session Tracking

2006-07-28 Thread Patil, Sheetal
PROTECTED] Sent: Friday, July 28, 2006 4:02 PM To: user@struts.apache.org Subject: RE: Session Tracking Hi All, What code do I explicit need to write to be able to call session.invalidate() when the session timeout happens ? For eg 1) I have opened a window 2) Timeout is set to 5 mins. 3) There is

RE: Session Tracking

2006-07-28 Thread prerna.sawhney
session.invalidate() for this session? Do I need to write listener classes? Can anyone post a code snippet? Thanks Prerna -Original Message- From: Patil, Sheetal [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 11:28 AM To: Struts Users Mailing List Subject: RE: Session Tracking As I

RE: Session Tracking

2006-07-28 Thread Patil, Sheetal
f possible -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 11:11 AM To: user@struts.apache.org Subject: Session Tracking H All, I am using struts framework and tomcat as the webserver. I want to implement session tracking and explicitly

RE: Session Tracking

2006-07-27 Thread Chetan Pandey
at as the webserver. I want to implement session tracking and explicitly expire the session after a fixed period of inactivity. So the session needs to expire in the following scenarios Can you tell me the best design approach to handle this? Should I take care of all in a class which ex

Session Tracking

2006-07-27 Thread prerna.sawhney
H All, I am using struts framework and tomcat as the webserver. I want to implement session tracking and explicitly expire the session after a fixed period of inactivity. So the session needs to expire in the following scenarios 1) User clicks on Logout on JSP page ( Can this be

Re: please reaply as early as possible - session tracking

2005-11-29 Thread Sony Thomas
Thanks to all, I am very glad and I got answer for my question. thanks sony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: please reaply as early as possible - session tracking

2005-11-29 Thread Dave Newton
Stephen Hartley wrote: When you say a long time, how long is long? ...plus the session might timeout if you have a slow user if you haven't adjusted the session timeout value. Aren't you glad you asked? Dave - To unsub

Re: please reaply as early as possible - session tracking

2005-11-29 Thread Stephen Hartley
When you say a long time, how long is long? A session is unique to a user. Should the value you want to persist be available to more than one (or all) users? If so, then you may be better using the servlet context... > struts. how can I set the > > value from jsp and how can I retrieve that val

Re: please reaply as early as possible - session tracking

2005-11-29 Thread David Evans
And you get the HttpSession object from the request in your action like this: HttpSession session = req.getSession(); // where req is the HttpServletRequest passed into the "execute" method On Tue, 2005-11-29 at 10:21 -0500, Srinivas Jadcharla wrote: > You can use HttpSession Object..In that yo

Re: please reaply as early as possible - session tracking

2005-11-29 Thread Srinivas Jadcharla
You can use HttpSession Object..In that you have setAttribute("") and getAttribute("") mthods. On 11/29/05, Sony Thomas <[EMAIL PROTECTED]> wrote: > > Hi Stephen, > > What I want to know is suppose I have to store some value to session. Is > there is something called Session object in struts. how

Re: please reaply as early as possible - session tracking

2005-11-29 Thread Sony Thomas
Hi Stephen, What I want to know is suppose I have to store some value to session. Is there is something called Session object in struts. how can I set the value from jsp and how can I retrieve that value in action from session object. My problem is that i have to set the value to the session a

Re: please reaply as early as possible - session tracking

2005-11-29 Thread Dave Newton
Sony Thomas wrote: how the session tracking doing in Struts without using hidden field or URL rewriting. Cookies. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: please reaply as early as possible - session tracking

2005-11-29 Thread Stephen Hartley
I'm not sure that I fully understand your question, but an alternative could be to use cookies? --- Sony Thomas <[EMAIL PROTECTED]> wrote: > how the session tracking doing in Struts without > using hidden field or > URL rew

please reaply as early as possible - session tracking

2005-11-29 Thread Sony Thomas
how the session tracking doing in Struts without using hidden field or URL rewriting. sony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]