An Alexa Skill Builder is using session attributes to maintain a user's state. What can the Builder do to ensure that a user's session is not lost if they take too long to answer a question and the skill exists?
A.
Set shouldEndSession to false in the response object to prevent the skill from exiting.
B.
Handle the SessionEndedRequest request type and persist the user's session to a database.
C.
Return false from the SessionEndedRequest handler so the session does not exist.
D.
Return a reprompt in the response object from the SessionEndedRequest handler.
The answer is B. The question states that the session already ended, so the only way to prevent the session data to disappear is to store it somewhere.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
mm12341234
3 years, 6 months agooriginaly
3 years, 7 months agogabbox
3 years, 7 months ago