Session timeout & Variable memory expiry


We know a session lasts for 24 hours in case of inactivity and also the variable memory will expire after 48 hours of inactivity.

Can someone tell me how is this possible? After 24 hours of inactivity, will it not be treated as a new session and variables will get refreshed?

I have uploaded an image shared by one of the customers where after 24 hours of inactivity, the bot still recognizes the user. Help me how to explain this, thanks in advance.

1 Like


Have you configured User Authentication using YmAuthenticationToken

Hi @gautham, can you tell me how does this depend on the token configuration? Ideally should not right?


2 possibilities here

  • Authentication is used: In this case, it’s could be possible that you’re authenticating a user and on auth – identifying their name, email and other such distinct user details


  • You’re passing the user’s name and other details directly via the bot payload and using it directly to converse with your end user without repeatedly asking them for their details.

It depends on how you’ve configured the bot flows but is not based on variable values being retained for more than 48hrs

Actually we are not doing both, we request the user to enter name alone in the beginning and store it in a variable.