String id = getSessionId();
long now = Alarm.getCurrentTime();
SessionImpl session
= manager.createSession(create, this, id, now,
isSessionIdFromCookie());
if (session != null
&& (id == null || ! session.getId().equals(id))
&& manager.enableSessionCookies()) {