[jboss-cvs] JBossAS SVN: r66404 - trunk/tomcat/src/main/org/jboss/web/tomcat/service/session.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Oct 24 19:23:10 EDT 2007
Author: remy.maucherat at jboss.com
Date: 2007-10-24 19:23:10 -0400 (Wed, 24 Oct 2007)
New Revision: 66404
Modified:
trunk/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossManager.java
Log:
- Removal of emptySessionPath (session cookies are now always on /).
Modified: trunk/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossManager.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossManager.java 2007-10-24 21:54:03 UTC (rev 66403)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossManager.java 2007-10-24 23:23:10 UTC (rev 66404)
@@ -321,17 +321,8 @@
log_.trace("Setting cookie with session id:" + sessionId + " & name:" + Globals.SESSION_COOKIE_NAME);
}
- String contextPath = null;
- if (!connector.getEmptySessionPath() && (context != null)) {
- contextPath = context.getEncodedPath();
- }
+ newCookie.setPath("/");
- if ((contextPath != null) && (contextPath.length() > 0)) {
- newCookie.setPath(contextPath);
- } else {
- newCookie.setPath("/");
- }
-
if (connector.getSecure()) {
newCookie.setSecure(true);
}
More information about the jboss-cvs-commits
mailing list