I have a Bot service and a Node JS client that uses the open-source Web chat control. My requirement is that I need to store some user information(like userId) in a browser cookie and send this information to the bot service, so that when user returns to the bot he/she doesn't have to enter user information again. Is there a way to support this requirement with the Web-chat control and Bot service?
Passing cookie to and from Bot Service
1.4k Views Asked by user3740951 At
1
There are 1 best solutions below
Related Questions in BOTFRAMEWORK
- In TeamsFx, how to construct ConversationReference without having a saved reference?
- Add interruption button in Azure bot framework
- Single Tenant Teams Bot Authentication Error: Missing access_token
- How can I enable AAD SSO for bot so we can get user information via Teams toolkit
- Adaptive-card sortby on datetime property
- botbuilder send activity context on stream
- Unable to send message to my bot using direct line
- Cannot access to Azure Graph via BOT MS Teams
- Message alignment to the left for user and bot message bubble
- How to resolve Teams bot ID change after upgrade to TeamsFX v5
- Designing a truly multi-tenant ms teams app
- Microsoft Azure Bot Framework - Can bots with User Managed Identities be tested with "Test in Web Chat"?
- How to handle user's route on using python-telegram-bot?
- AdaptiveCard not rendering bullet list if the text is from variable
- how do you make an adaptive card input choice selection send the selected choice to the teams bot?
Related Questions in WEBCHARTCONTROL
- ToolTipFor SeriesPoints not showing while using devexpress
- Devexpress webchartcontrol how to get unlimited colors collection and store in list array
- DevExpress PieChart WebChartControl Hover to Highlight Piece of Pie
- Passing cookie to and from Bot Service
- Google Chrome not letting ASP.NET Chart Controls render. Throws Error " Website sent an invalid response"!
- Sending channelData to webchat with each message
- How to generate a pie chart from 2 string values in asp.net c#
- DevExpress WebChartControl Create at runtime
- Change Value Numeric Format in DevExpress WebChartControl
- how to plot multiple y-axis in chart control
- asp.net 4.0 caching issue
- How do I change the legend symbol on a webchart?
- AxisLabel Stacked Column Chart using MsWeb Chart
- DevExpress WebChartControl Pie Controlling Fill
- AspxPivotGrid and WebCharControl Issues
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It seems that you’d like to store user information in cookie to remember information about the user and pass user’s specific information to bot service. To store/retrieve user information in cookie, you can create/read cookies via the document.cookie property with JavaScript in client side code.
To pass user’s specific information to bot service, as Nicolas R mentioned in comment, you can send specific event activity with user information via backchannel mechanism. You can get more information about the backchannel mechanism from these articles: