Extracting session from warehouse