I am banning specific user from my website and update the database fields with ban information but if they are already logged in they can still use website
I can control the database for ban information on every request but i do not want to control the database if user banned or not on every request for performance reasons.
Is there any easy way to do that?
How can i force them to logout ?