for (int i = 0; i < cookies.length; i++) {
if (cookies[i].getName().equalsIgnoreCase(sessionCookie)) {
session = LogonControllerFactory.getInstance().getSessionInfoBySessionId(cookies[i].getValue());
if (session != null) {
LogonControllerFactory.getInstance().addCookies(request, response, session.getLogonTicket(), session);
session.access();
break;
}
}
if (cookies[i].getName().equalsIgnoreCase(Constants.DOMAIN_LOGON_TICKET) || cookies[i].getName()
.equalsIgnoreCase(Constants.LOGON_TICKET)) {