How to make a statement in a session