You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by cr...@locus.apache.org on 2000/01/09 04:26:10 UTC
cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core Context.java
craigmcc 00/01/08 19:26:10
Modified: src/share/org/apache/tomcat/core Context.java
Log:
This is the patch that enables use of the new Tomcat.Next session
management implementation. If you need to return to the original
implementation, simply reverse this patch.
Once we are satisfied that the new session management code works,
we can refactor out the extra "SessionManager" layer. The part of a
session manager that knows about the semantics of session management
should be returned to the core package, leaving the "Manager"
implementation as an intelligent database of active sessions.
Revision Changes Path
1.21 +3 -1 jakarta-tomcat/src/share/org/apache/tomcat/core/Context.java
Index: Context.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Context.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- Context.java 2000/01/09 02:57:40 1.20
+++ Context.java 2000/01/09 03:26:09 1.21
@@ -398,7 +398,9 @@
public SessionManager getSessionManager() {
if( sessionManager==null ) {
// default - will change when a better one exists
- sessionManager = org.apache.tomcat.session.ServerSessionManager.getManager();
+ // sessionManager = org.apache.tomcat.session.ServerSessionManager.getManager();
+ sessionManager =
+ new org.apache.tomcat.session.StandardSessionManager();
}
return sessionManager;
}