PHP Session. How can a admin destroy a user's session
<p>i have this question. My website is build whereby a user can only be in the member's page if he has login. therefore every page has this,</p>

<p>if (!$_SESSION['userid']) header index.php</p>

<p>Problem is that if i ban the user and the user did not end the session, he will still be allowed to use the site until he end the session and try to login again, and he will be denied due to the change in the status in the database.</p>

<p>I'm thinking that the only way is to delete the physical session file in the server, but i dont know how. Anyone?</p>
