You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by al...@apache.org on 2014/01/25 03:18:38 UTC

svn commit: r1561245 - in /juddi/trunk: juddi-gui/src/main/webapp/ajax/switch.jsp juddi-gui/src/main/webapp/index.jsp juddiv3-war/src/main/webapp/admin/index.jsp

Author: alexoree
Date: Sat Jan 25 02:18:38 2014
New Revision: 1561245

URL: http://svn.apache.org/r1561245
Log:
JUDDI-758 fixing ui cookies for the cloud instance

Modified:
    juddi/trunk/juddi-gui/src/main/webapp/ajax/switch.jsp
    juddi/trunk/juddi-gui/src/main/webapp/index.jsp
    juddi/trunk/juddiv3-war/src/main/webapp/admin/index.jsp

Modified: juddi/trunk/juddi-gui/src/main/webapp/ajax/switch.jsp
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/webapp/ajax/switch.jsp?rev=1561245&r1=1561244&r2=1561245&view=diff
==============================================================================
--- juddi/trunk/juddi-gui/src/main/webapp/ajax/switch.jsp (original)
+++ juddi/trunk/juddi-gui/src/main/webapp/ajax/switch.jsp Sat Jan 25 02:18:38 2014
@@ -37,7 +37,7 @@
                 out.write(ResourceLoader.GetResource(session, "items.description") + ": " + StringEscapeUtils.escapeHtml(description));
                 Cookie cookie = new Cookie("current_node", node);
                 cookie.setMaxAge(Integer.MAX_VALUE);
-                cookie.setPath("/juddi-gui");
+                cookie.setPath("/");
                 response.addCookie(cookie);
         }
 %>
\ No newline at end of file

Modified: juddi/trunk/juddi-gui/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/webapp/index.jsp?rev=1561245&r1=1561244&r2=1561245&view=diff
==============================================================================
--- juddi/trunk/juddi-gui/src/main/webapp/index.jsp (original)
+++ juddi/trunk/juddi-gui/src/main/webapp/index.jsp Sat Jan 25 02:18:38 2014
@@ -42,11 +42,8 @@
             session.setAttribute("locale", lang);
             if (checked != null && checked.equalsIgnoreCase("on")) {
                 Cookie cookie = new Cookie("locale", lang);
-                //TODO this is for debugging purposes 
-                //this is in ms, Maxvalue represents something like 70 years
                 cookie.setMaxAge(Integer.MAX_VALUE);
-                //cookie.setDomain("/UDDIBrowser");
-                cookie.setPath("/juddi-gui");
+                cookie.setPath("/");
                 response.addCookie(cookie);
             }
             response.sendRedirect("home.jsp");

Modified: juddi/trunk/juddiv3-war/src/main/webapp/admin/index.jsp
URL: http://svn.apache.org/viewvc/juddi/trunk/juddiv3-war/src/main/webapp/admin/index.jsp?rev=1561245&r1=1561244&r2=1561245&view=diff
==============================================================================
--- juddi/trunk/juddiv3-war/src/main/webapp/admin/index.jsp (original)
+++ juddi/trunk/juddiv3-war/src/main/webapp/admin/index.jsp Sat Jan 25 02:18:38 2014
@@ -42,11 +42,8 @@
             session.setAttribute("locale", lang);
             if (checked != null && checked.equalsIgnoreCase("on")) {
                 Cookie cookie = new Cookie("locale", lang);
-                //TODO this is for debugging purposes 
-                //this is in ms, Maxvalue represents something like 70 years
                 cookie.setMaxAge(Integer.MAX_VALUE);
-                //cookie.setDomain("/UDDIBrowser");
-                cookie.setPath("/UDDIBrowser");
+                cookie.setPath("/");
                 response.addCookie(cookie);
             }
             response.sendRedirect("home.jsp");



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org