Index: lams_common/src/java/org/lamsfoundation/lams/web/session/SessionManager.java =================================================================== RCS file: /usr/local/cvsroot/lams_common/src/java/org/lamsfoundation/lams/web/session/SessionManager.java,v diff -u -r1.4 -r1.5 --- lams_common/src/java/org/lamsfoundation/lams/web/session/SessionManager.java 6 Oct 2005 06:32:13 -0000 1.4 +++ lams_common/src/java/org/lamsfoundation/lams/web/session/SessionManager.java 10 Oct 2005 04:07:38 -0000 1.5 @@ -55,9 +55,6 @@ //signlton private static SessionManager sessionMgr; - - public static final String SYS_SESSION_NAME = "sys_session"; - //KEY: sessionId, each session will have an identified id. VALUE: SessionImpl instance, which contains //true session key/value pairs. private Map sessionContainer = new ConcurrentReaderHashMap(); @@ -171,8 +168,10 @@ //if cookie exist, but session does not. This usually menas seesion expired. //then delete the cookie first and set it null in order to create a new one if(obj == null){ - removeCookie((HttpServletResponse) res,SystemSessionFilter.SYS_SESSION_COOKIE); - cookie = null; + createSession(currentSessionId); + //After changing cookie name to JSESSIONID, left cookie lifecycle management to Server +// removeCookie((HttpServletResponse) res,SystemSessionFilter.SYS_SESSION_COOKIE); +// cookie = null; } } //can not be in else! Index: lams_common/src/java/org/lamsfoundation/lams/web/session/SystemSessionFilter.java =================================================================== RCS file: /usr/local/cvsroot/lams_common/src/java/org/lamsfoundation/lams/web/session/SystemSessionFilter.java,v diff -u -r1.4 -r1.5 --- lams_common/src/java/org/lamsfoundation/lams/web/session/SystemSessionFilter.java 10 Oct 2005 02:34:36 -0000 1.4 +++ lams_common/src/java/org/lamsfoundation/lams/web/session/SystemSessionFilter.java 10 Oct 2005 04:07:38 -0000 1.5 @@ -55,9 +55,6 @@ return; } - System.out.println(req.getServerName()); - System.out.println(((HttpServletRequest)req).getRequestURI()); - SessionManager.startSession(req, res); //do following part of chain