Defining sessions

You can define sessions in the following ways: