To establish a session, the user logs on to the database.
The procedure varies depending on the client system, the operating system, and whether the user is an application program, or a user in an interactive terminal session using an application program or an interactive user.