You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/12/20 16:16:38 UTC
DO NOT REPLY [Bug 50501] New: Tomcat needs to much time to
invalidate sessions
https://issues.apache.org/bugzilla/show_bug.cgi?id=50501
Summary: Tomcat needs to much time to invalidate sessions
Product: Tomcat 6
Version: 6.0.29
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: 1983-01-06@gmx.net
I have a logout servlet which has the following line:
forward("/end.jsp", request, response);
session.setMaxInactiveInterval(10);
Next to this I was watching the sessions list for this webapp in the manager.
Altough I set the max inactive to 10 seconds, it took tomcat upto a minute to
dispose the session.
This should happen immediately or with a minimal lag. See attached screenshot
of the manager app.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 50501] Tomcat needs to much time to invalidate
sessions
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50501
--- Comment #2 from Michael Osipov <19...@gmx.net> 2010-12-20 13:54:05 EST ---
I sorry, bugzilla forgot to upload my attachment. Will do asap.
I can't use #invalidate(), this is cause all JS & CSS files in my JSP to create
a new session.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 50501] Tomcat needs to much time to invalidate
sessions
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50501
Konstantin Kolinko <kn...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> 2010-12-20 11:02:53 EST ---
1) There is no attachment.
2) Why aren't you using session.invalidate()?
> This should happen immediately or with a minimal lag
3) It should not. Processing timeouts is a background task. By design, there is
some minimum interval before the timed out session is noticed. You can
configure how frequently the background processing runs on a Context, Host or
Engine.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 50501] Tomcat needs to much time to invalidate
sessions
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50501
--- Comment #3 from Christopher Schultz <ch...@christopherschultz.net> 2010-12-20 16:16:51 EST ---
Sounds like a question to ask on the user list. JS and CSS files cause sessions
to be created? Not under a default configuration.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org