see the example of session.