[Question] Multiple users getting the same answer on different queries at the same time
My Bot is implemented in c#, and the main dialog is LUIS Dialog. So I've detected when different users in the same time ask the bot different queries, the bot detects just one query from the one user and replays the same answer to the both users. I've integrated the bot in skype and in my xamarin app. So, how can I detect more queries in the same time. I'm using chain dialog like this: internal static IDialog
I had a similar issue!! But mine was a total blunder from my side!!!! Mine was because I used some static properties!!
I use static properties too. Are you saying that's because of them? @PrasadGautham
To me that was the issue....I was storing a particular variable through a static property.....So this value was changing with context to the whole users and not just an individual...So I think we used conversationdata to store that....Am not sure if thats the case with you as well... Let the experts say!!! I am not very well aware
Yeah, static properties persist their data over multiple messages. Try and avoid static if you don’t want this behaviour
Sent from my Windows 10 phone
From: msBot1111 Sent: 22 May 2017 07:13 To: Microsoft/BotBuilder Cc: Subscribed Subject: Re: [Microsoft/BotBuilder] [Question] Multiple users getting the sameanswer on different queries at the same time (#2800)
I use static properties too. Are you saying that's because of them? @PrasadGautham — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
@msBot1111 please post more code, so we can help determine what the issue is.
@msBot1111 did your issue get resolved?
yes I did, thanks. The issue was with the static properties.