-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bob,
On 1/21/2010 8:36 PM, Bob Hall wrote: > --- On Thu, 1/21/10 at 7:26 AM, Christopher Schultz > <ch...@christopherschultz.net> wrote: > >> >> If you access the session at all, it counts as a "touch", >> thereby >> extending the life of the session. It's not possible to >> "peek" at the >> session without "touching" it AFAICT. > > The Session timeout can be set when the response is being "delivered" > via Session's setMaxInactiveInterval() method without extending the life of > the Session. > > In a JSP: > > <% session.setMaxInactiveInterval(inactiveTimeSecs); %> Are you sure about that? In order to get the local 'session' variable, the JSP must call request.getSession(), which ought to extend the life of the session. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktZyQcACgkQ9CaO5/Lv0PBFywCcDaq0QyP1f5vJer1soNrPq8Uj LxwAnRIiodOhqbTtlkw0OiZV34yJRztV =Bdyt -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org