HttpSession session = request.getSession(false);
if (session == null)
return string;
SessionManager sessionManager = webApp.getSessionManager();
if (! sessionManager.enableSessionUrls())
return string;
StringBuilder cb = new StringBuilder();
String altPrefix = sessionManager.getAlternateSessionPrefix();