Re: Adding session time out to ForwardAction [S1.3.8]

2011-09-23 Thread Paul Benedict
Override the request processor. The RequestProcessor has a handleForward() method, I believe, which you could customize to include additional checking. On Fri, Sep 23, 2011 at 10:29 AM, Anjib Mulepati wrote: > Hi, > > I am wondering is there any way we can add the session time out

Adding session time out to ForwardAction [S1.3.8]

2011-09-23 Thread Anjib Mulepati
Hi, I am wondering is there any way we can add the session time out code for org.apache.struts.actions.ForwardAction. I am adding session time out code for every actions in Action Class. But some of my action are just Forward action so I am using ForwardAction for such action. Disadvantage

Re: Setting session time out at run time

2010-12-28 Thread Jordi Fernandez
setMaxInactiveInterval(int seconds) will work for a specific user session timeout. It is set in the httpsession object, for example http://bit.ly/g2WdSW. In Struts 2 you can gain access to the HttpSession object by accessing HttpServletRequest (http://struts.apache.org/2.0.14/docs/how-can-we-

Setting session time out at run time

2010-12-27 Thread ashutosh kumar
How can I set session timeout at runtime for struts 2. Does HttpSession.setMaxInactiveInterval work? If yes ,where do I need to set it? Thanks Ashutosh

Re: Setting Session time out

2007-12-26 Thread David Durham, Jr.
On Dec 25, 2007 1:56 AM, Raghuveer <[EMAIL PROTECTED]> wrote: > If session of login user expires or left unused for 15 minutes application > should fire session expire page automatically. This is something that is best accomplished from a client. HTML allows you to specify meta data about a docum

Re: Setting Session time out

2007-12-25 Thread mgainty
:56 AM Subject: Setting Session time out > Is there possibility of setting session time out of application for 15 > minutes? > > > > If session of login user expires or left unused for 15 minutes application > should fire session expire page automatically. > > > >

Setting Session time out

2007-12-24 Thread Raghuveer
Is there possibility of setting session time out of application for 15 minutes? If session of login user expires or left unused for 15 minutes application should fire session expire page automatically. Any idea of how to handle this in my struts application?

Re: session time out

2007-01-05 Thread Information Guzzler
wrote: When the session times out want to redirect to a session time out page. Is there an easier way to do this in struts? How can this be done? Thanks. _ Find sales, coupons, and free shipping, all in one place! MSN Shopping

session time out

2007-01-05 Thread fea jabi
When the session times out want to redirect to a session time out page. Is there an easier way to do this in struts? How can this be done? Thanks. _ Find sales, coupons, and free shipping, all in one place!  MSN Shopping Sales

Re: Question about session time-out using Listener

2006-09-25 Thread Tamas Szabo
cal-ref]'. >> >> >> >> >> >> Tamas Szabo wrote: >> >> > >> >> > Hi, >> >> > >> >> > You can use SessionInactivityFilter from the JavaWebParts project if >> >> you >> >> > don

Re: Question about session time-out using Listener

2006-09-25 Thread mosho
>> >> > Hi, >> >> > >> >> > You can use SessionInactivityFilter from the JavaWebParts project if >> >> you >> >> > don't want to reinvent the wheel: >> >> > >> >> > Doc: >> >&g

Re: Question about session time-out using Listener

2006-09-25 Thread Tamas Szabo
> Good Luck, >> > >> > Tamas >> > >> > >> > >> > >> > >> http://javawebparts.sourceforge.net/javadocs/javawebparts/filter/SessionInactivityFilter.html >> > >> > On 9/25/06, mosho

Re: Question about session time-out using Listener

2006-09-25 Thread mosho
>> > >> > >> > >> > >> http://javawebparts.sourceforge.net/javadocs/javawebparts/filter/SessionInactivityFilter.html >> > >> > On 9/25/06, mosho <[EMAIL

Re: Question about session time-out using Listener

2006-09-25 Thread Tamas Szabo
o forward a request to another page.Isit >> possible to do it with HttpSessionListener? >> How can I get response object so that I can redirect to another page? >> >> Thanks for your help! >> -- >&

Re: Question about session time-out using Listener

2006-09-25 Thread mosho
;> >> >> >> Hi All, >> >> When session times out I want to forward a request to another page.Is it >> possible to do it with HttpSessionListener? >> How can I get response object so that I can redirect to another page? >> >> Thanks for you

Re: Question about session time-out using Listener

2006-09-25 Thread Tamas Szabo
t so that I can redirect to another page? Thanks for your help! -- View this message in context: http://www.nabble.com/Question-about-session-time-out-using-Listener-tf2329396.html#a6480246 Sent from the Struts - User mailing list archive at

RE: Question about session time-out using Listener

2006-09-24 Thread Strachan, Paul
PM To: user@struts.apache.org Subject: Question about session time-out using Listener Hi All, When session times out I want to forward a request to another page.Is it possible to do it with HttpSessionListener? How can I get response object so that I can redirect to another page? Thanks for your

Re: Question about session time-out using Listener

2006-09-24 Thread Li
ttpSessionListener? >> How can I get response object so that I can redirect to another page? >> >> Thanks for your help! >> -- >> View this message in context: >> http://www.nabble.com/Question-about-session-time-out-using-Listener-tf2329396.html#a6480246 >>

Re: Question about session time-out using Listener

2006-09-24 Thread mosho
equest to another page.Is it >> possible to do it with HttpSessionListener? >> How can I get response object so that I can redirect to another page? >> >> Thanks for your help! >> -- >> View this message in context: >> http://www.nabble.com/Question-about-ses

Re: Question about session time-out using Listener

2006-09-24 Thread Li
nother page? Thanks for your help! -- View this message in context: http://www.nabble.com/Question-about-session-time-out-using-Listener-tf2329396.html#a6480246 Sent from the Struts - User mailing list archive at Nabble.com. --

Question about session time-out using Listener

2006-09-24 Thread mosho
-session-time-out-using-Listener-tf2329396.html#a6480246 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT] Re: Session time out

2006-02-06 Thread Dave Newton
Stanislav wrote: > I'm using Struts 1.2.7 and JBoss 4.0.3 and I'm having by default session time > out set to 30min. Is there any way to change this value to 1-2 hours? > web.xml: 120 > [...] i don't know if user "catch" sessi

Re: Session time out

2006-02-06 Thread Stanislav
> Session timeout is specified in web.xml. :-) I can't believe that this is so simple :-))) > You need a session listener. Google should give you a few results. OK, I will. Tnx, Stanislav - To unsubscribe, e-mail: [EMAIL PROT

Session time out

2006-02-06 Thread Stanislav
Hi! I'm using Struts 1.2.7 and JBoss 4.0.3 and I'm having by default session time out set to 30min. Is there any way to change this value to 1-2 hours? Also how can I monitor how many user's are logged into system, because i don't know what action class is called after

RE: session time out

2004-06-15 Thread Ram Venkataswamy
NitroX for Struts -Original Message- From: Rajat Pandit, Gurgaon [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 9:56 PM To: 'Struts Users Mailing List' Subject: RE: session time out Hello Lokanath, I am not sure if this is the best way to go about it, but yes maybe

RE: session time out

2004-06-14 Thread Rajat Pandit, Gurgaon
- From: Lokanath [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 9:56 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: session time out hi all , can anyone tell me how to reach a page automatically when session expires in a stusts application lokanath -Original

session time out

2004-06-14 Thread Lokanath
hi all , can anyone tell me how to reach a page automatically when session expires in a stusts application lokanath -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 3:04 PM To: Struts Users Mailing List Subject: RE: session problem

Re: SV: Session Time Out

2004-04-02 Thread Erik Price
On Mar 31, 2004, at 10:25 AM, Kumar M wrote: Therefore, we are not using Filters. Can I rely on "isNew()" method to identify if the session does not exist for the user but the web server (or is it Struts?) created it for this particular request. How are folks doing it if they cannot user filte

Re: SV: Session Time Out

2004-03-31 Thread Kumar M
SHNAN [mailto:[EMAIL PROTECTED] Sendt: 31. mars 2004 10:27 Til: 'Struts Users Mailing List' Emne: RE: Session Time Out HI We are not finding it that easy. It could expire anywhere after the filter. Mohan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

SV: Session Time Out

2004-03-31 Thread hermod . opstvedt
List' Emne: RE: Session Time Out HI We are not finding it that easy. It could expire anywhere after the filter. Mohan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 1:39 PM To: [EMAIL PROTECTED] Subject: SV: Session Time Out

RE: Session Time Out

2004-03-31 Thread MOHAN RADHAKRISHNAN
HI We are not finding it that easy. It could expire anywhere after the filter. Mohan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 1:39 PM To: [EMAIL PROTECTED] Subject: SV: Session Time Out Hi Use a servletfilter to trap

SV: Session Time Out

2004-03-31 Thread hermod . opstvedt
Hi Use a servletfilter to trap when a new session is created, and do what ever you want to there. Hermod -Opprinnelig melding- Fra: Adam Hardy [mailto:[EMAIL PROTECTED] Sendt: 31. mars 2004 09:56 Til: Struts Users Mailing List Emne: Re: Session Time Out Hi Kumar, struts will create

Re: Session Time Out

2004-03-30 Thread Adam Hardy
Hi Kumar, struts will create the session. AFAIK there is no way to disable it in struts. Adam On 03/30/2004 11:17 PM Kumar M wrote: I am setting the web application to time out in 60 mins. After that if the user sends a request from the expired browser session I was hoping to identify that sta

Session Time Out

2004-03-30 Thread Kumar M
Hi all, I am setting the web application to time out in 60 mins. After that if the user sends a request from the expired browser session I was hoping to identify that state using "request.getSession(false) == null" in my Action Servlet. But I am noticing that "request.getSession(false)" is nev