[jboss-cvs] JBossAS SVN: r81185 - projects/cluster/varia/sessionstress/web.war.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Nov 17 18:55:37 EST 2008
Author: bela at jboss.com
Date: 2008-11-17 18:55:36 -0500 (Mon, 17 Nov 2008)
New Revision: 81185
Modified:
projects/cluster/varia/sessionstress/web.war/index.jsp
Log:
resync
Modified: projects/cluster/varia/sessionstress/web.war/index.jsp
===================================================================
--- projects/cluster/varia/sessionstress/web.war/index.jsp 2008-11-17 23:52:16 UTC (rev 81184)
+++ projects/cluster/varia/sessionstress/web.war/index.jsp 2008-11-17 23:55:36 UTC (rev 81185)
@@ -3,11 +3,17 @@
<%!
String hostname="n/a", user_name="n/a";
+ String nodeName = System.getProperty("jboss.jvmRoute");
%>
<%
// response.setHeader("Cache-Control", "no-cache");
+ response.setHeader("X-ClusterNode", nodeName);
+
+ // Touch the session to ensure cookie is sent
+ session.getId();
+
String key=request.getParameter("key"), val=request.getParameter("value");
if(key != null) {
if(val == null || val.trim().length() == 0) {
More information about the jboss-cvs-commits
mailing list