I've seen many examples and questions about clearing a Flask session, but haven't been able to find a clear answer on how to only clear a specific key or set of keys.
If I don't want to clear the entire session, how can I can completely remove (as if it never existed) a specific key?
For example, I want to clear session['foo'], but keep session['bar']. So when I later do:
if 'foo' in session: This should return False.