if (request.isInitial() && status < 300)
{
if (!session.isSameDialog(response))
{
AppSession appSession = session.appSession();
Session derived = appSession.getSession(response);
if (derived == null)
derived = appSession.createDerivedSession(session);
session = derived;
}