proper way of storing temporary data

CarolBrusteredm
Conversationalist

proper way of storing temporary data

Hi

 

I'm creating spring + thymeleaf web app where user is answering questions in form. After that I want to display summary with wrong and correct answers for every question, so I need to somehow store these user's answers. What's the best way of doing that? Saving them to database seems wrong for me

1 REPLY 1
PhilipDAth
Kind of a big deal

You could store them in the browser using a cookie, or web storage or IndexDB.

https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Client-side_web_APIs/Client-side_storage 

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.