There is a session timeout parameter in web.xml. I tested my app with a 2 min timeout to redirect the user to the home page after the session times out. I use Tomcat but web.xml and the session timeout param are standard on a servlet container.
Here is the web.xml file I use, the timeout param is at the end. Fred ============================================== <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> <web-app> <filter> <filter-name>welcome</filter-name> <filter-class>com.jobtracking.WelcomeFilter</filter-class> <init-param> <param-name>welcome</param-name> <!-- was jobs.faces --> <param-value>mainPage.faces</param-value> </init-param> </filter> <filter-mapping> <filter-name>welcome</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.faces</url-pattern> </servlet-mapping> <!-- Test session timeout 30 minute(s) --> <session-config> <session-timeout>30</session-timeout> </session-config> </web-app> --- Karthik N <[EMAIL PROTECTED]> wrote: > look at your web server/app server documentation for http sessions > and how > they time out. > > On 9/5/06, Peter Dawn <[EMAIL PROTECTED]> wrote: > > > > ok. how can i implement a session time-out. > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Thanks, Karthik > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]