Re: Different session timeout for local and external users

2008-11-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mikolaj, Mikolaj Rydzewski wrote: > Ehlers, Kolja wrote: >> is it somehow possible to set a different session timeout for local >> 192.168... users and others? I know I could have a rewrite rule and then >> forward all calls from local workstation to

Re: Different session timeout for local and external users

2008-11-13 Thread Mikolaj Rydzewski
Bret Davies wrote: I actually dropped it in the mail yesterday. Oops, I'm sorry, looks like I have some email problems. -- Mikolaj Rydzewski <[EMAIL PROTECTED]> - To start a new topic, e-mail: users@tomcat.apache.org To un

Re: Different session timeout for local and external users

2008-11-13 Thread Ronald Klop
Use HttpSession.setMaxInactiveInterval(int). if (request.getRemoteHost().startsWith("192.168.")) { // or something more advanced request.getSession().setMaxInactiveInterval(100); } Ronald. Op donderdag, 13 november 2008 om 15:21 uur schreef Tomcat Users List : Subject: Different sess

Re: Different session timeout for local and external users

2008-11-13 Thread Bret Davies
Peter I actually dropped it in the mail yesterday. sorry. Bret - Original Message - From: "Mikolaj Rydzewski" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, November 13, 2008 8:28 AM Subject: Re: Different session timeout for local and extern

Re: Different session timeout for local and external users

2008-11-13 Thread Mikolaj Rydzewski
Ehlers, Kolja wrote: is it somehow possible to set a different session timeout for local 192.168... users and others? I know I could have a rewrite rule and then forward all calls from local workstation to a different webapp folder but I thought maybe there is a more easy way to do this. Servl