Session and Session Attributes
Often, the goal of an Alexa Skill is to be as conversational as possible. We may want our Skill to involve back-and-forth conversations between Alexa and the user rather than have Alexa say something and stop. Along the way, we may want to collect information from users which will further guide the conversation between Alexa and the user.
This is where the concept of a session and session attributes comes in.
A Skill session refers to all the user interactions that take place from when a user invokes our Skill to when the user exits the Skill.
Lifecycle of a session
Let’s take a look at the lifecycle of a session to make this definition a little easier to understand.