New session handler.