fyi, this still isn't correct. If you can simply copy/paste the code
from these messages I'm sending, that should ensure the correct code gets checked in. Here is
what it should look like:


String sessionId = generateSessionId();
String jvmRoute = getJvmRoute();
// @todo Move appending of jvmRoute generateSessionId()???
if (jvmRoute != null) {
sessionId += '.' + jvmRoute;
} synchronized (sessions) {
while (sessions.get(sessionId) != null){ // Guarantee uniqueness
log("Found duplicate session id, getting a new one.");
sessionId = generateSessionId();
if (jvmRoute != null) {
sessionId += '.' + jvmRoute;
}
}
session.setId(sessionId);
}
return (session);



--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to