Checking portal session.