Regardless whether the user leave the browser idle or close the browser, as=
long =0Aas the user access the site from an IP that is inside of client's =
network, the =0Aseesion won't time out.=A0 By doing the same thing from out=
side IP, the session =0Atimeout correctly.=0A=0AIn both cases, the access l=
og does NOT have anything logged other than the those =0Aactions when user =
were actually accessing the site.=A0 So I think there is no =0Aextra traffi=
c being sent.=A0 If you are=A0talking about any other possibilities to =0Ar=
eset the session time out, could you please be more specific?=0A=0AThank yo=
u!=0AJing=0A=0A________________________________=0AFrom: Rainer Jung <rainer=
.jung@kippdata.de>=0ATo: Tomcat Users List <users@tomcat.apache.org>=0ASent=
: Thu, September 30, 2010 2:16:53 AM=0ASubject: Re: session won't timeout=
=0A=0AOn 30.09.2010 07:13, Caldarale, Charles R wrote:=0A>> From: Jing Chen=
[mailto:jingc3@yahoo.com]=0A>> Subject: Re: session won't timeout=0A>=0A>>=
The results are different - in one case, the session is=0A>> destroyed aft=
er 30 minutes; but in another case, the=0A>> session stay active.=0A>=0A> F=
irst, look in Tomcat's logs to see if there's anything interesting in there=
=0A>regarding failures that might affect the session.=A0 Second, use Tomca=
t's manager =0A>app (or JConsole) to see what the timeout value of the sess=
ions really is; =0A>something in your webapp might have changed it from the=
default.=A0 Third, turn on =0A>Tomcat's AccessLogValve to find out if the =
supposedly closed browsers are still =0A>sending in requests.=A0 Fourth, us=
e Wireshark or equivalent on the client systems =0A>to see if any traffic i=
s being sent to the Tomcat server, resetting the session =0A>timer.=0A=0AYe=
s, active the access log for Tomcat and change the default pattern to =0Aal=
so include %S and maybe even=0A=0A"%S "%{Set-Cookie}o" "%{Co=
okie}i"".=0A=0AThat way you can easily track the sessions.=0A=0ARegard=
s,=0A=0ARainer=0A=0A-------------------------------------------------------=
--------------=0ATo unsubscribe, e-mail: users-unsubscribe@tomcat.apache.or=
g=0AFor additional commands, e-mail: users-help@tomcat.apache.org
|