I have a problem with blocking user as follows:-
We have a Admin Panel from where Admin can block the user which is
Suppose the user "firstname.lastname@example.org" is login and he is doing spam on our
site. Then Admin has decided to block that user. Admin blocks that user
but the user hasn't logged out yet due to that he still can do Spam the
How can I fix this? I do not want to add any filter for each request.
Is it possible to get the session of that spam user and then reset that?