How to reset the website when the user leaves it, with vibe.d?
vnr
cfcr at gmail.com
Tue Jun 29 16:25:09 UTC 2021
Hello 😊
I have a bit of a problem that seems simple enough, but I can't
find an answer to my questions. On my website, I have two
textareas that the user can write on. When the user reloads the
page or closes it and then reopens it, the text he wrote is still
written, which is quite annoying.
So my question is how to reset the website (the page) when the
user reloads or quits.
I've looked at the vibe.d's sessions, because that's probably
where the answer to my question lies, but from what I understand,
it requires a "login and logout form" (at least, all the code
examples do this), which I don't want, because I want the website
to be accessible without logging in.
Do you have any ideas on how to fix this, probably with sessions?
More information about the Digitalmars-d-learn
mailing list