Francisco- Not clear how an interceptor can solve this..how does interceptor solve reception of timeout 'event's?
Thanks, Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: RE: Session timeout - SOLVED > Date: Fri, 17 Oct 2008 16:48:05 +0000 > > > I've done it using an interceptor and it works properly. Thanks all! > > > From: [EMAIL PROTECTED] > > To: user@struts.apache.org > > Subject: RE: Session timeout > > Date: Thu, 16 Oct 2008 12:12:08 -0400 > > > > > > your web.xml contains a session-timeout parameter set e.g. > > <session-config> > > <session-timeout>30</session-timeout> > > </session-config> > > > > from my understanding..regular catalina SSL or non-SSL connector has no > > ability to understand events > > you may want to look at implementing NIOConnector which will throw > > RetryRequest for Continuation.getEvent() calls > > > > http://www.mortbay.org/jetty/jetty-6/apidocs/org/mortbay/jetty/nio/SelectChannelConnector.html > > This is extremely beta so caveat emptor > > > > make sure you specify an unused port for %SomeUnusedPort% > > > > <Connector port="%SomeUnusedPort%" > > useSendfile="true" > > useExecutor="true" > > acceptorThreadCount="1" > > pollerThreadCount="1" > > pollerThreadPriority="java.lang.Thread#NORM_PRIORITY" > > selectorTimeout="1000" > > useComet="true" > > prcessCache="200" > > socket.directBuffer="false" > > socket.rxBufSize="25188" > > socket.txBufSize="43800" > > socket.appReadBufSize="8192" > > socket.appWriteBufSize="8192" > > socket.bufferPool="500" > > socket.bufferPoolSize="100000000" > > socket.processorCache="500" > > socket.keyCache="500" > > socket.eventCache="500" > > socket.tcpNoDelay="false" > > socket.soKeepAlive="true" > > socket.soTimeout="5000" > > protocol="org.apache.coyote.http11.Http11NioProtocol" > > maxThreads="150" > > connectionTimeout="60000" > > redirectPort="8443" /> > > > > HTH > > Martin > > ______________________________________________ > > Disclaimer and confidentiality note > > Everything in this e-mail and any attachments relates to the official > > business of Sender. This transmission is of a confidential nature and > > Sender does not endorse distribution to any party other than intended > > recipient. Sender does not necessarily endorse content contained within > > this transmission. > > > > > > > From: [EMAIL PROTECTED] > > > To: user@struts.apache.org > > > Subject: Session timeout > > > Date: Thu, 16 Oct 2008 15:31:02 +0000 > > > > > > > > > Hi, > > > > > > How can I check if my session is timed out and redirect then to the login > > > page? > > > > > > Regards, > > > Paco > > > > > > _________________________________________________________________ > > > Llega la nueva temporada. Consulta las nuevas tendencias en MSN Estilo > > > http://estilo.es.msn.com/moda/ > > > > _________________________________________________________________ > > Want to read Hotmail messages in Outlook? The Wordsmiths show you how. > > http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Blog-cns!20EE04FBC541789!167.entry?ocid=TXT_TAGLM_WL_hotmail_092008 > > _________________________________________________________________ > ¿Sigue el calor? Consulta MSN El tiempo > http://eltiempo.es.msn.com/ _________________________________________________________________ When your life is on the go—take your life with you. http://clk.atdmt.com/MRT/go/115298558/direct/01/