Topic: Temporarily saving data
I'm making an app for Twilio where I will perform several Redirects. The first selection callers will be able to make is the language selection, so obviously this needs to be remembered. The Twilio staff told me the call has an ID which I should be able to store, in order to decide which language to use after that initial redirect. I could store this in the database, but then it would be come bloated after a while with entries that I use only once.
What is the best way to solve this? I would say this ID and its selected language would only need to be remembered during the call, but let's take a day to keep it easy. I don't want to run some kind of "dumb" job that clears the table, as that might force something to go wrong in the middle of a call.