Session try catch